Skip to content

Commit

Permalink
Remove URLStreamHandlerRuntime
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Godin committed Dec 21, 2017
1 parent e050f19 commit f1feebc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 184 deletions.

This file was deleted.

This file was deleted.

6 changes: 6 additions & 0 deletions org.jacoco.doc/docroot/doc/changes.html
Expand Up @@ -96,6 +96,12 @@ <h3>Non-functional Changes</h3>
(GitHub <a href="https://github.com/jacoco/jacoco/issues/527">#527</a>).</li>
</ul>

<h3>API Changes</h3>
<ul>
<li><code>URLStreamHandlerRuntime</code> removed
(GitHub <a href="https://github.com/jacoco/jacoco/issues/471">#471</a>).</li>
</ul>

<h2>Release 0.7.9 (2017/02/05)</h2>

<h3>Fixed Bugs</h3>
Expand Down
4 changes: 3 additions & 1 deletion org.jacoco.doc/docroot/doc/implementation.html
Expand Up @@ -205,7 +205,9 @@ <h2>Coverage Runtime Dependency</h2>
classes open a connection on this protocol. The returned connection object
is the one that provides access to the coverage runtime through its
<code>equals()</code> method. However to register the protocol the runtime
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>
<li><b><code>ModifiedSystemClassRuntime</code></b>: This approach adds a
public static field to an existing JRE class through instrumentation. Unlike
the other methods above this is only possible for environments where a Java
Expand Down

0 comments on commit f1feebc

Please sign in to comment.