Integrated: 8317141: Remove unused validIndex method from URLClassPath$JarLoader

Jaikiran Pai jpai at openjdk.org
Sat Sep 30 01:10:08 UTC 2023


On Fri, 29 Sep 2023 05:41:11 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this change which removes unused (internal) method from the `private` `URLClassPath$JarLoader`? 
> 
> The `validIndex` method which is being removed here was being used when JAR index was supported. We removed support for JAR index in https://bugs.openjdk.org/browse/JDK-8302819. This method is now a leftover and no longer used.
> 
> The commit in this PR also removes a couple of other member fields in `URLClassPath$JarLoader`. These fields too were used previously when JAR index was in use and are no longer used.
> 
> tier1, tier2 and tier3 tests continue to pass with this change.

This pull request has now been integrated.

Changeset: 009f5e1f
Author:    Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/009f5e1fa177eea326aefec0f995f589a01169d2
Stats:     41 lines in 1 file changed: 0 ins; 38 del; 3 mod

8317141: Remove unused validIndex method from URLClassPath$JarLoader

Reviewed-by: alanb, lancea, dfuchs

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

PR: https://git.openjdk.org/jdk/pull/15976


More information about the core-libs-dev mailing list