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

(cs) Resolve default Charset only once in StreamEncoder and StreamDecoder

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • None
    • core-libs

      If charsetName passed into forOutputStreamWriter(OutputStream out, Object lock, String charsetName) method is null then Charset.forName() is redundant as we can use already resolved default Charset.

            stsypanov Sergey Tsypanov
            stsypanov Sergey Tsypanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: