Multi-release jar file - Should the "Multi-Release" mainfest attribute have a specific value?
jai.forums2013 at gmail.com
Wed Jan 23 14:27:59 UTC 2019
The Multi-Release JarFile support JEP notes that the jar file is
expected to contain a main attribute:
The JarFile javadoc on the other hand makes no mention of the value
for such an attribute and just mentions that the Multi-Release main
attribute needs to be present:
"A multi-release jar file is a jar file that contains a manifest with a
main attribute named "Multi-Release",..."
Which one of these 2 docs is expected to be the formal specification?
I'm guessing it's the javadoc, in which case, is it intentional that the
value for this attribute isn't mentioned or is it just a miss? My quick
tests show that the implementation of this feature does indeed expect
the value to be a "true" for it to consider the versioned entries in a
More information about the core-libs-dev