On Tue, 7 Sep 2021 10:39:01 GMT, Lance Andersen <lan...@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

Reply via email to