Avoid loading java.nio.charset.StandardCharsets in java.util.zip.ZipCoder

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 26
    • Component/s: core-libs

      JDK-8365703 introduced a dependency on StandardCharsets to access the UTF8 instance.

      It would have been better to use UTF_8.INSTANCE here, as elsewhere in this class. This to prevent a startup regression loading otherwise unused classes, as documented by a code comment in StandardCharsets.

            Assignee:
            Eirik Bjørsnøs
            Reporter:
            Eirik Bjørsnøs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: