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

Remove legacy sun.security.key.serial.interop property

    XMLWordPrintable

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P4
    • Resolution: Approved
    • Fix Version/s: 12
    • Component/s: security-libs
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      I don't see any risk here. This flag was used for JDK 1.4 workaround issues and defaulted to false.
    • Interface Kind:
      System or security property

      Description

      Summary

      The sun.security.key.serial.interop private system property was introduced in JDK 1.5.0 to help interoperability issues with JDK 1.4 serialized DSA public keys. JDK 1.4 is long deprecated and this property can now be safely removed from the JDK code base.

      Problem

      The property in question defaults to false and is not used anywhere in the JDK code base. JDK 1.4 is past EOSL for some time now and this legacy property should be removed.

      More details about introduction of original property can be found in bug 6232513 and corresponding CCC request.

      Solution

      Remove code in src/java.base/share/classes/sun/security/provider/DSAKeyFactory.java which deals with this legacy property. The code will default to the code path as if the property was "false" - which is what the default always was for this property.

      Specification

      No specification impact here. This legacy flag was a private system property. I can't find any documentation referring to this property.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coffeys Sean Coffey
                Reporter:
                coffeys Sean Coffey
                Reviewed By:
                Sean Mullan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: