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

Alan Bateman alanb at openjdk.java.net
Sat Sep 4 06:53:51 UTC 2021


On Sat, 4 Sep 2021 01:53:35 GMT, wxiang <github.com+53162078+shiyuexw at openjdk.org> wrote:

> I will first create the patch to remove JAR index support from the URLClassLoader implementation, the `jar i` option.

Thank you. We'll probably need a new JBS issue and PR for that but let's see first if any issues come out of the wood work. Stuart is right that another option for the jar tool is to drop the index when updating an existing JAR file that has an index, we don't need to decide that just yet.

-------------

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


More information about the core-libs-dev mailing list