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

Mark the deprecated java.security.{Certificate,Identity,IdentityScope,Signer} APIs with forRemoval=true

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 10
    • security-libs
    • None
    • behavioral
    • low
    • Hide
      There are still some projects that use these APIs, in particular GlassFish and WildFly, but they should be fairly easy to replace or remove, and the compiler warning will help give advance notice. Also, the Java EE javax.ejb.EJBContext.getIdentity() API has a dependency on the Identity API but the method has been deprecated since EJB 1.1.
      Show
      There are still some projects that use these APIs, in particular GlassFish and WildFly, but they should be fairly easy to replace or remove, and the compiler warning will help give advance notice. Also, the Java EE javax.ejb.EJBContext.getIdentity() API has a dependency on the Identity API but the method has been deprecated since EJB 1.1.
    • Java API
    • SE

      Summary

      Mark the deprecated java.security.{Certificate, Identity, IdentityScope, Signer} classes with forRemoval=true.

      Problem

      The java.security.{Certificate, Identity, IdentityScope, Signer} classes have been deprecated since JDK 1.2 and superseded by java.security.cert, java.security.KeyStore and related classes since JDK 1.2. It is no longer necessary to retain these classes and they should be removed in a future release.

      Solution

      Mark the deprecated java.security.{Certificate, Identity, IdentityScope, Signer} classes with forRemoval=true.

      Specification

      Make the following change to the java.security.{Certificate, Identity, IdentityScope, Signer} classes:

      -@Deprecated(since="1.2")
      +@Deprecated(since="1.2", forRemoval=true)

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

              Created:
              Updated:
              Resolved: