On Sun, 11 Apr 2021 13:44:05 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> Naoto Sato has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Reflected the review comments. > > src/java.base/share/classes/java/io/Console.java line 397: > >> 395: /** >> 396: * Returns the {@link java.nio.charset.Charset Charset} object used >> in >> 397: * this {@code Console}. > > The Console is a singleton and the existing methods use "the console" so I > think we should do the same here. > > We'll need to add to the description of the System.{in,out,err} fields, I > don't mind if we do it as part of this PR or another issue. Javadoc updated. Instead of modifying System.out/err (System.in is not affected, as it does not convert b2c), I modified PrintStream javadoc. ------------- PR: https://git.openjdk.java.net/jdk/pull/3419