On 1/9/15 7:27 AM, Claes Redestad wrote:
Hi,
please review this change to remove the dependency on the line.separator
property at object construction time by instead using the
System.lineSeparator()
utility.
In itself, this change will break some applications manipulating the
line.separator
property to change the per-instance behavior, which is an unspecified
implementation
behavior. This was partially discussed and suggested earlier on this
list[1], and the
intent is to provide a well-specified method of overriding the line
separator for a
PrintWriter and possibly BufferedWriter as a follow-on to this.
webrev: http://cr.openjdk.java.net/~redestad/8068498/webrev.01/
bug: https://bugs.openjdk.java.net/browse/JDK-8068498
Testing: JTREG java/lang java/io
/Claes
[1]
http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-January/030530.html
+1