RFR: 8153213: Jar manifest attribute "Multi-Release" accepts any value

Paul Sandoz paul.sandoz at oracle.com
Fri Apr 8 07:41:30 UTC 2016

Hi Steve,

> On 8 Apr 2016, at 03:57, Steve Drach <steve.drach at oracle.com> wrote:
> I’ve put up a new webrev that addresses the issue of having spaces before (and after) the value “true” in the Multi-Release attribute.

Is some or all of that really necessary? since the we can specify domain of values.

For example, the Sealed attribute can take on a value of “true” or “false” (case ignored), but there is no white space trimming.


>> Hi,
>> Please review this simple fix to require that the jar manifest Multi-Release attribute has a value of “true" in order to be effective, i.e. to assert the jar is a multi-release jar.
>> issue: https://bugs.openjdk.java.net/browse/JDK-8153213 <https://bugs.openjdk.java.net/browse/JDK-8153213>
>> webrev: http://cr.openjdk.java.net/~sdrach/8153213/webrev/index.html <http://cr.openjdk.java.net/~sdrach/8153213/webrev/index.html>
>> Thanks
>> Steve

More information about the core-libs-dev mailing list