Skip to content

Commit cf2c80e

Browse files
committedMay 3, 2024
8331582: Incorrect default Console provider comment
Reviewed-by: joehw, jlahoda, jlu, prappo
1 parent 77b7122 commit cf2c80e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/java.base/share/classes/java/io/Console.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,8 @@ private static Console instantiateConsole(boolean istty) {
406406
/*
407407
* The JdkConsole provider used for Console instantiation can be specified
408408
* with the system property "jdk.console", whose value designates the module
409-
* name of the implementation, and which defaults to "java.base". If no
409+
* name of the implementation, and which defaults to the value of
410+
* {@code JdkConsoleProvider.DEFAULT_PROVIDER_MODULE_NAME}. If no
410411
* providers are available, or instantiation failed, java.base built-in
411412
* Console implementation is used.
412413
*/

0 commit comments

Comments
 (0)
Please sign in to comment.