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

Incorrect default Console provider comment

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: