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

Remove sun.nio.cs.map system property

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P2
    • Resolution: Approved
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      medium
    • Compatibility Risk Description:
      Applications need to use the IANA definition of "Shift_JIS" charset name.
    • Interface Kind:
      System or security property
    • Scope:
      JDK

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                naoto Naoto Sato
                Reporter:
                shadowbug Shadow Bug
                Reviewed By:
                Alan Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: