RFR: 8273401: Remove JarIndex support in URLClassPath [v2]

wxiang github.com+53162078+shiyuexw at openjdk.java.net
Wed Sep 8 06:22:39 UTC 2021


On Tue, 7 Sep 2021 10:39:01 GMT, Lance Andersen <lancea at openjdk.org> wrote:

>> src/java.base/share/classes/java/util/jar/JarFile.java line 220:
>> 
>>> 218:      * The index file name.
>>> 219:      */
>>> 220:     public static final String INDEX_NAME = "META-INF/INDEX.LIST";
>> 
>> Adding this as a public field means it becomes part of the API, so it shouldn't be public here.
>
> Agree

remove public,but recover the same definition in JarIndex

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

PR: https://git.openjdk.java.net/jdk/pull/5383


More information about the core-libs-dev mailing list