Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8331582

Incorrect default Console provider comment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • None
    • core-libs
    • b22
    • generic
    • generic

      In `java.io.Console`:

      ```
                  /*
                   * The JdkConsole provider used for Console instantiation can be specified
                   * with the system property "jdk.console", whose value designates the module
      > * name of the implementation, and which defaults to "java.base". If no
                   * providers are available, or instantiation failed, java.base built-in
                   * Console implementation is used.
                   */
                  PrivilegedAction<Console> pa = () -> {
                      var consModName = System.getProperty("jdk.console",
                              JdkConsoleProvider.DEFAULT_PROVIDER_MODULE_NAME);
      ```

      The default Console is now provided by `jdk.internal.le` module with the fix to JDK-8308591. This comment needs to be corrected.

            naoto Naoto Sato
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: