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

Jaikiran Pai jpai at openjdk.org
Fri Sep 29 05:48:15 UTC 2023


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.

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

Commit messages:
 - 8317141: Remove unused validIndex method from URLClassPath

Changes: https://git.openjdk.org/jdk/pull/15976/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15976&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8317141
  Stats: 41 lines in 1 file changed: 0 ins; 38 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/15976.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15976/head:pull/15976

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


More information about the core-libs-dev mailing list