RFR JDK-8080252: java.util.Formatter documentation of %n converter is misleading

Xueming Shen xueming.shen at oracle.com
Thu Jul 30 17:34:26 UTC 2015


Hi,

Please help review the change for

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

It appears we updated the j.u.Formatter implementation to use the newly 
introduced
method System.lineSeparator() in jdk7, but did not update the doc 
accordingly.

For the old the behavior, I would assume the initial intent is to treat 
the system property
line.separator as a read-only/informative property.

Given the fact the it has been 2 major releases (7, 8), I would assume 
this change is now
a kind of change to "update the javadoc to describe the existing 
implementation correctly".
So a CCC is not needed.

Thanks,
Sherman





More information about the core-libs-dev mailing list