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

Rename package of security tools for modularization

    Details

    • Subcomponent:
    • Resolved In Build:
      b97
    • CPU:
      generic
    • OS:
      generic

      Description

      KeyTool, PolicyTool and JarSigner are in the sun.security.tools package. Classes in the same package splitting across multiple modules require to use "requires local" and to be loaded by the same class loader.

      The security tool classes are not necessarily loaded by the same class loader. Move the class in a different package eliminate the unnecessary split package issue.

        Activity

        Hide
        mchung Mandy Chung added a comment -
        BT2:EVALUATION

        The security tool classes should have its own package.
        Show
        mchung Mandy Chung added a comment - BT2:EVALUATION The security tool classes should have its own package.
        Hide
        mchung Mandy Chung added a comment -
        BT2:EVALUATION

        Move PolicyTool to sun.security.tools.policytool package. Leave KeyTool and JarSigner in sun.security.tools package as there are existing applications using it although they are not supported interface.
        Show
        mchung Mandy Chung added a comment - BT2:EVALUATION Move PolicyTool to sun.security.tools.policytool package. Leave KeyTool and JarSigner in sun.security.tools package as there are existing applications using it although they are not supported interface.
        Hide
        mchung Mandy Chung added a comment -
        Show
        mchung Mandy Chung added a comment - BT2:SUGGESTED FIX http://hg.openjdk.java.net/jdk7/tl/jdk/rev/b3466e2c3819

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Imported:
              Indexed: