RFR JDK-8200530: '\r' is not supported as "newline" in java.util.jar.Manifest.

Xueming Shen xueming.shen at oracle.com
Tue Jun 5 05:38:45 UTC 2018


Hi,

Please help review the changeset for JDK-8200530.

"newline" is specified as |CR LF | LF | CR|(/not followed by/|LF|) in 
Jar spec [1] from
the very beginning but our implementation actually never supports 
"\r"/CR (not
followed by LF) case. The proposed change here is to add CR as an individual
supported "newline"/line separator.

issue: https://bugs.openjdk.java.net/browse/JDK-8200530
webrev: http://cr.openjdk.java.net/~sherman/8200530/webrev

Thanks,
Sherman


[1] https://docs.oracle.com/javase/10/docs/specs/jar/jar.html


More information about the core-libs-dev mailing list