JDK-8153213 : Jar manifest attribute "Multi-Release" accepts any value
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-03-31
  • Updated: 2024-06-03
  • Resolved: 2016-04-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b115Fixed
Related Reports
Duplicate :  
Relates :  
Description
When the Multi-Release attribute was "invented", it was thought to be a binary attribute, either it was present or not, the value did not matter.  In practice, the value is almost always true.  Also, since the attribute is parsed with a modified Boyer-Moore search, we can further decrease false positives by looking for the value "true".  So, enforcing a "true" value is both consistent with current practice and a more accurate indicator.
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/1ac040116965 User: lana Date: 2016-04-20 17:52:51 +0000
20-04-2016

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/1ac040116965 User: redestad Date: 2016-04-12 16:27:00 +0000
12-04-2016