RFR: 8153213: Jar manifest attribute "Multi-Release" accepts any value
Claes Redestad
claes.redestad at oracle.com
Sun Apr 10 06:05:37 UTC 2016
On 2016-04-10 06:36, Claes Redestad wrote:
> For completeness, maybe we should also check that the value is not
> part of a continuation:
>
> // Check that the value is followed by a
> // newline and does not have a continuation
> if ((c == '\r' || c == '\n') &&
> (i + 1 == b.length || b[i + 1] !=
> ' ')) {
> isMultiRelease = true;
> }
Scratch that, this would fail to check for \r\n followed by space, thus
incomplete.
/Claes
More information about the core-libs-dev
mailing list