On Thu, 23 Mar 2023 12:05:50 GMT, Eirik Bjorsnos <d...@openjdk.org> wrote:

> This PR removes the JAR index feature from the runtime:
> 
> - `URLClassPath` is  updated to remove the `enableJarIndex` system property 
> and any code which would be called when this property was `true`
> - The `JarIndex` implementation class is moved into `jdk.jartool` module.
> - The `InvalidJarIndexError` exception class is removed because it falls out 
> of use
> - The test `test/jdk/sun/misc/JarIndex/metaInfFileNames/Basic.java` is 
> removed because it depends on the JarIndex feature being present
> - The test `test/jdk/sun/misc/JarIndex/JarIndexMergeForClassLoaderTest.java` 
> is removed because it depends on the JarIndex feature being present
> - The test `test/jdk/sun/misc/JarIndex/JarIndexMergeTest.java` is removed 
> because it end up being the only caller of the  JarIndex.merge feature
> - All `JarIndex` methods/constructors which are not used by the `jar -i` 
> implementation are removed. 
> - `JarIndex` is given package-private access.

This pull request has now been integrated.

Changeset: 0d45a524
Author:    Eirik Bjorsnos <eir...@gmail.com>
Committer: Lance Andersen <lan...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/0d45a524b3d29fd57a4d468d7b5af0f588db7409
Stats:     1826 lines in 25 files changed: 231 ins; 1580 del; 15 mod

8302819: Remove JAR Index

Reviewed-by: mchung, alanb, lancea, jpai

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

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

Reply via email to