Clarify Console.charset() method description

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: 17, 25
    • Component/s: core-libs
    • b23
    • generic
    • generic

      In JDK24, the spec of the method reads:
      ```
      The returned charset corresponds to the input and output source (e.g., keyboard and/or display) specified by the host environment or user, which defaults to the one based on stdout.encoding. It may not necessarily be the same as the default charset returned from Charset.defaultCharset().
      ```
      It reads "The returned charset corresponds to the input and output source", but it only relies on `stdout.encoding`. Needs some clarification here

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

              Created:
              Updated:
              Resolved: