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

Deprecate the java.security.Certificate API with forRemoval=true

    Details

    • Subcomponent:
    • Resolved In Build:
      b126
    • Verification:
      Not verified

      Description

      The java.security.Certificate API has been deprecated since 1.2 and has been superseded by java.security.cert.Certificate and related classes since 1.2. It is no longer necessary to retain this class and it should be removed in a future release.

        Issue Links

          Activity

          Hide
          mullan Sean Mullan added a comment - - edited
          As part of this change, the internal classes sun.security.x509.CertException and sun.security.x509.CertParseError should be marked for removal (they are already deprecated) and removed when java.security.Certificate is removed. External applications should not be using these internal classes anyway, but it would be good to add forRemoval just to make it very clear they are going away. They both have the following deprecation warning right now:

          * @deprecated use one of Exceptions defined in the java.security.cert
          * package.
          *
          * @see java.security.Certificate

          and are not used by any code within the JDK.
          Show
          mullan Sean Mullan added a comment - - edited As part of this change, the internal classes sun.security.x509.CertException and sun.security.x509.CertParseError should be marked for removal (they are already deprecated) and removed when java.security.Certificate is removed. External applications should not be using these internal classes anyway, but it would be good to add forRemoval just to make it very clear they are going away. They both have the following deprecation warning right now: * @deprecated use one of Exceptions defined in the java.security.cert * package. * * @see java.security.Certificate and are not used by any code within the JDK.
          Hide
          mullan Sean Mullan added a comment -
          FC Extension Request

          The fix is coded and ready for integration, and the CCC has been approved. The risk level is very low. See the description for justification. The enhancement can be completed within a day of getting approval.
          Show
          mullan Sean Mullan added a comment - FC Extension Request The fix is coded and ready for integration, and the CCC has been approved. The risk level is very low. See the description for justification. The enhancement can be completed within a day of getting approval.
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/3ab835bb3771
          User: mullan
          Date: 2016-07-01 15:43:06 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/3ab835bb3771 User: mullan Date: 2016-07-01 15:43:06 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/3ab835bb3771
          User: lana
          Date: 2016-07-06 20:17:35 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/3ab835bb3771 User: lana Date: 2016-07-06 20:17:35 +0000

            People

            • Assignee:
              mullan Sean Mullan
              Reporter:
              mullan Sean Mullan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: