There are three places in the JDK code where String.format("%n") is used. This is actually equivalent to System.lineSeparator and does not require the implementation of String.format.
- links to
-
Commit(master) openjdk/jdk/4957145e
-
Review(master) openjdk/jdk/20149