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

Move few sun.security.{util, x509, pkcs} classes used by keytool/jarsigner to another package

    Details

    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        1. Move sun.security.util.PathList and sun.security.x509.CertAndKeyGen to a different package so that they can be included in the jarsigner/keytool module.

        sun.security.util.PathList and sun.security.x509.CertAndKeyGen are only used by keytool or jarsigner while many other sun.security.util.* and sun.security.x509.* classes are in jdk.boot module.

        2. sun.security.util.BigInt is not used in the jdk. Shall it be deleted?

        3. sun.security.pkcs.PKCS10** classes are only used by keytool. If they are not required by the platform, they should be moved to another package to be included in the keytool/jarsigner module. The jdk.boot has sun.security.pkcs.** classes and the split package isn't necessary for this case.


        Dependencies:
        sun.security.tools.KeyTool -> sun.security.pkcs.PKCS10 (sun.security.misc)
        sun.security.tools.KeyTool -> sun.security.pkcs.PKCS10Attribute
        (sun.security.misc)
        sun.security.tools.KeyTool -> sun.security.pkcs.PKCS10Attributes
        (sun.security.misc)
        sun.security.tools.KeyTool -> sun.security.util.PathList
        (sun.security.misc)
        sun.security.tools.KeyTool -> sun.security.x509.CertAndKeyGen
        (sun.security.misc)

          Issue Links

            Activity

            Show
            mullan Sean Mullan added a comment - BT2:EVALUATION http://hg.openjdk.java.net/jdk8/tl/jdk/rev/01615d3e74ed
            Hide
            nisriniv Nithya Srinivasan (Inactive) added a comment -
            BT2:EVALUATION

            No applicable Tests , noreg-cleanup
            Show
            nisriniv Nithya Srinivasan (Inactive) added a comment - BT2:EVALUATION No applicable Tests , noreg-cleanup

              People

              • Assignee:
                mullan Sean Mullan
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: