-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove URLStreamHandlerRuntime #471
Conversation
@Godin Ok for me! |
As a note: seems that |
cf60ebd
to
7bd5474
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Godin Good for me to merge this if this is still required,
needs to access internal members of the <code>java.net.URL</code> class.</li> | ||
needs to access internal members of the <code>java.net.URL</code> class | ||
and thus will require additional modifications to work with JDK 9 | ||
(at least was required for EA b148), so has been removed in 0.7.9.</li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Next JaCoCo release is 0.8.0
@Godin What about merging this old PR? In the meantime we get this build warning for >= Java 9:
|
@Godin I rebased this old PR on master. Can you please review? |
* uses reflection to access internal members of the java.net.URL class * not used by default * has lower performance than ModifiedSystemClassRuntime that is used by default and than SystemPropertiesRuntime
@marchof thanks for rebasing and merging this! 👍 |
I propose to remove
org.jacoco.core.runtime.URLStreamHandlerRuntime
for the following reasons:setAccessible
for private fieldjava.net.URL#handlers
org.jacoco.core.runtime.ModifiedSystemClassRuntime
that is used by default and thanorg.jacoco.core.runtime.SystemPropertiesRuntime