Remove sun.nio.cs.map system property

XMLWordPrintable

    • Type: CSR
    • Resolution: Approved
    • Priority: P2
    • 14
    • Component/s: core-libs
    • None
    • behavioral
    • medium
    • Applications need to use the IANA definition of "Shift_JIS" charset name.
    • System or security property
    • JDK

      Summary

      Remove the undocumented sun.nio.cs.map system property that overrides the default charset name/alias mapping.

      Problem

      The system property was provided for applications that would break with the fix to JDK-4712786. It was meant to be used for the time being while those applications migrate the definition of Shift_JIS from Windows code page 932 encoding to IANA defined Shift_JIS. The behavior has been partially broken since JDK 9 and should be removed rather than fixed.

      Solution

      Remove the system property from runtime.

      Specification

      N/A since the system property was never documented.

            Assignee:
            Naoto Sato
            Reporter:
            Shadow Bug
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: