On 09/01/2015 15:27, 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
This looks good to me and the behavior change looks reasonable for a major release.

-Alan

Reply via email to