Integrated: 8273401: Disable JarIndex support in URLClassPath
wxiang
github.com+53162078+shiyuexw at openjdk.java.net
Sun Sep 26 11:47:04 UTC 2021
On Wed, 15 Sep 2021 09:33:10 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.
This pull request has now been integrated.
Changeset: 7700b254
Author: seanwxiang <seanwxiang at tencent.com>
Committer: Hui Shi <hshi at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/7700b25460b9898060602396fed7bc590ba242b8
Stats: 12 lines in 3 files changed: 8 ins; 1 del; 3 mod
8273401: Disable JarIndex support in URLClassPath
Reviewed-by: dfuchs, lancea, alanb, mchung
-------------
PR: https://git.openjdk.java.net/jdk/pull/5524
More information about the core-libs-dev
mailing list