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

Remove sun.nio.cs.map system property

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P2 P2
    • 14
    • 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.

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

              Created:
              Updated:
              Resolved: