RFR: 8215788: Clarify JarInputStream Manifest access [v12]
Lance Andersen
lancea at openjdk.org
Fri Sep 23 17:56:09 UTC 2022
On Fri, 23 Sep 2022 17:38:47 GMT, Sean Mullan <mullan at openjdk.org> wrote:
> As a side comment, I notice that `JarInputStream` capitalizes "JAR", whereas `JarFile` does not ("jar"). We should really be consistent in our javadocs. I think "JAR" is more correct, mainly because that is what the Jar File specification uses.
>
> I am not suggesting you need to change `JarFile` though this as part of this PR. Mostly noting it for future reference.
I think you raise a fair point for a different set up updates. there are places in the JAR File spec which also uses "jar file" vs "JAR file". Similar conversation for "ZIP" vs "Zip" vs "zip".
Too yes, lets agree on the preferred convention and update in one pass through java.util.jar.* and java.util.zip.* and the JAR file spec
-------------
PR: https://git.openjdk.org/jdk/pull/10045
More information about the core-libs-dev
mailing list