RFR: 6957241: ClassLoader.getResources() returns only 1 instance when using jar indexing

Stuart Marks smarks at openjdk.java.net
Fri Sep 3 18:38:01 UTC 2021

On Fri, 3 Sep 2021 10:48:01 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> There will probably need to be some discussion on what to do with the jar tool. I suspect we will need to keep the code that updates the index when updating a JAR file that has an existing index, this means keeping JarIndex....

Depends on how draconian we're willing to be. At some point I can see the tool _removing_ the index if it's updating a jar file that has one. Suitable warning messages would need to be emitted.


PR: https://git.openjdk.java.net/jdk/pull/5316

More information about the core-libs-dev mailing list