RFR: 8273401: Disable JarIndex support in URLClassPath [v3]
Mandy Chung
mchung at openjdk.java.net
Thu Sep 16 18:18:53 UTC 2021
On Thu, 16 Sep 2021 13:32:08 GMT, wxiang <github.com+53162078+shiyuexw at openjdk.org> wrote:
>> There is a bug for URLClassPath.findResources with JarIndex.
>> Currently, there was agreement on dropping the support from the URLClassLoader implementation but it was suggested that it should be disabled for a release or two before the code is removed.
>> A system property can be used to re-enable JarIndex support in URLClassPath.
>>
>> The PR includes:
>> Disable JarIndex support in URLClassPath by default.
>> Add system property jdk.net.URLClassPath.enableJarIndex to re-enable JarIndex support.
>
> wxiang has updated the pull request incrementally with one additional commit since the last revision:
>
> Remove redundant check
Looks good to me. I agree that this temporary property is not needed to be document in the javadoc.
-------------
Marked as reviewed by mchung (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/5524
More information about the core-libs-dev
mailing list