RFR: 8331582: Incorrect default Console provider comment

Pavel Rappo prappo at openjdk.org
Fri May 3 11:59:55 UTC 2024


On Thu, 2 May 2024 20:54:58 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> Fixing a comment in `java.io.Console`, which was a leftover from the fix to https://bugs.openjdk.org/browse/JDK-8308591

Looks good.

src/java.base/share/classes/java/io/Console.java line 409:

> 407:              * The JdkConsole provider used for Console instantiation can be specified
> 408:              * with the system property "jdk.console", whose value designates the module
> 409:              * name of the implementation, and which defaults to the value

Might read slightly better:
Suggestion:

             * name of the implementation, and which defaults to the value of

-------------

Marked as reviewed by prappo (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19070#pullrequestreview-2037983570
PR Review Comment: https://git.openjdk.org/jdk/pull/19070#discussion_r1589103639


More information about the core-libs-dev mailing list