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

Remove support for "sun.security.policy.utf8" system property

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Withdrawn
    • Icon: P3 P3
    • tbd
    • security-libs
    • None
    • behavioral
    • minimal
    • System or security property
    • JDK

      Summary

      Remove support for the non-standard "sun.security.policy.utf8" system property.

      Problem

      This property was introduced in JDK 1.4.2 to preserve compatibility with policy files that were not encoded in UTF-8. See https://www.oracle.com/technetwork/java/javase/compatibility-142878.html for more details.

      Since JDK 1.4.0, all policy files are required to be encoded in UTF-8. This compatibility feature is not necessary anymore. It should be very low risk to remove support for this property.

      Solution

      Remove support for the property. Require that all policy files are encoded in UTF-8.

      Specification

      TBD.

            mullan Sean Mullan
            mullan Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: