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

Remove dependencies on java.security.Certificate, sun.security.x509.X509Cert classes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • 8
    • 8
    • security-libs

      The java.security.Certificate class is deprecated. Some internal security classes have dependencies on this class (and more specifically the subclass sun.security.x509.X509Cert) which can probably be removed. Eliminating this dependency helps reduce the number and size of the security classes in the base module.

      See suggested fix for sun.security.x509.CertAndKeyGen.

      There is another dependency in sun.tools.jar.JarVerifierStream. I am not sure it is safe to remove some of that code.

            vinnie Vincent Ryan
            mullan Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: