Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P1
    • Resolution: Delivered
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      Umbrella task to track subtasks that can be done in preparation for JEP 260: "Encapsulate Most
      Internal APIs". That is, clear out sun.misc and sun.reflect of types that are not to be exported.

        Issue Links

        1.
        Move SharedSecrets and interface friends out of sun.misc Sub-task Resolved Chris Hegarty  
         
        2.
        Clear out all non-Critical APIs from sun.reflect and move to jdk.unsupported Sub-task Resolved Chris Hegarty  
         
        3.
        Examine usages of sun.misc.IOUtils Sub-task Resolved Chris Hegarty  
         
        4.
        Remove sun.misc.ConditionLock and Lock Sub-task Resolved Chris Hegarty  
         
        5.
        Prepare Unsafe for true encapsulation Sub-task Resolved Chris Hegarty  
         
        6.
        Update library code to use internal Unsafe Sub-task Resolved Chris Hegarty  
         
        7.
        Update and add tests for Unsafe Sub-task Resolved Chris Hegarty  
         
        8.
        Move @Contended to the jdk.internal.vm.annotation package Sub-task Resolved Chris Hegarty  
         
        9.
        Remove character coders from sun.misc Sub-task Resolved Chris Hegarty  
         
        10.
        Remove test dependencies on sun.misc.BASE64Encoder and BASE64Decoder Sub-task Resolved Chris Hegarty  
         
        11.
        Move sun.misc.HexDumpEncoder to sun.security.util Sub-task Resolved Chris Hegarty  
         
        12.
        Remove sun.misc.Request and RequestProcessor Sub-task Resolved Chris Hegarty  
         
        13.
        Remove sun.misc.Queue and replace usages with standard Collections Sub-task Resolved Chris Hegarty  
         
        14.
        Move sun.misc.ProxyGenerator to jdk.internal.reflect Sub-task Resolved Chris Hegarty  
         
        15.
        Move sun.misc.VM to jdk.internal.misc Sub-task Resolved Chris Hegarty  
         
        16.
        Move sun.misc math support classes to jdk.internal.math Sub-task Resolved Chris Hegarty  
         
        17.
        Remove sun.misc.CompoundEnumeration Sub-task Resolved Chris Hegarty  
         
        18.
        Examine sun.misc.MessageUtils Sub-task Resolved Chris Hegarty  
         
        19.
        Move sun.misc performance counters to jdk.internal.perf Sub-task Resolved Chris Hegarty  
         
        20.
        Remove unused CEFormatException and CEStreamExhausted from sun.misc Sub-task Resolved Chris Hegarty  
         
        21.
        Remove sun.misc.JarFilter Sub-task Resolved Chris Hegarty  
         
        22.
        Remove sun.misc.ClassFileTransformer Sub-task Resolved Chris Hegarty  
         
        23.
        Move sun.misc.Cleaner to jdk.internal.ref Sub-task Resolved Chris Hegarty  
         
        24.
        Move sun.misc.URLClassPath and Resource to an internal package Sub-task Resolved Chris Hegarty  
         
        25.
        Move sun.misc.InnocuousThread to jdk.internal.misc Sub-task Resolved Chris Hegarty  
         
        26.
        Examine usages of sun.misc.LRUCache Sub-task Resolved Chris Hegarty  
         
        27.
        Decouple sun.misc.Signal from the base module Sub-task Resolved Roger Riggs  
         
        28.
        Move sun.misc.Version to a truly internal package Sub-task Resolved Chris Hegarty  
         
        29.
        Improve String.CASE_INSENSITIVE_ORDER and remove sun.misc.ASCIICaseInsensitiveComparator Sub-task Resolved Chris Hegarty  
         
        30.
        Move sun.misc.JarIndex and InvalidJarIndexException to an internal package Sub-task Resolved Chris Hegarty  
         
        31.
        Remove sun.misc.resources Sub-task Resolved Chris Hegarty  
         
        32.
        Move sun.misc.VMSupport to an internal package Sub-task Resolved Chris Hegarty  
         
        33.
        Move sun.misc.GC to java.rmi ( sun.rmi.transport ) Sub-task Resolved Chris Hegarty  
         
        34.
        Update the PostVMInitHook mechanism to use an internal package in the base module Sub-task Resolved Chris Hegarty  
         
        35.
        jdk.vm.ci should not depend on sun.misc ( jdk.unsupported module ) Sub-task Resolved Chris Hegarty  
         
        36.
        Examine the desktop module's use of sun.misc.SoftCache Sub-task Resolved Alexander Scherbatiy (Inactive) 2016-05-26
         
        37.
        Retire sun.misc.GThreadHelper Sub-task Resolved Philip Race 2016-05-26
         
        38.
        Remove JDK 9 specific methods from sun.misc.Unsafe Sub-task Resolved Chris Hegarty  
         
        39.
        Release Note: Sub-task Closed Chris Hegarty  
         

          Activity

          Hide
          chegar Chris Hegarty added a comment -
          The initial focus of this issue is on sun.misc. Once the required classes have been, moved, refactored,
          cleaned-up, and all dependencies from the base module on types in sun.misc have been removed,
          then the jdk.unsupported module can be created. Dependencies from other modules on the
          unsupported module can be removed in parallel, as focus moves to the sun.reflect package.
          Show
          chegar Chris Hegarty added a comment - The initial focus of this issue is on sun.misc. Once the required classes have been, moved, refactored, cleaned-up, and all dependencies from the base module on types in sun.misc have been removed, then the jdk.unsupported module can be created. Dependencies from other modules on the unsupported module can be removed in parallel, as focus moves to the sun.reflect package.
          Hide
          chegar Chris Hegarty added a comment -
          JDK-8153737 created the jdk.unsupported module. For now, just the
          sun.misc package is exported.
          Show
          chegar Chris Hegarty added a comment - JDK-8153737 created the jdk.unsupported module. For now, just the sun.misc package is exported.
          Hide
          chegar Chris Hegarty added a comment -
          JDK-8137058 added sun.reflect
          Show
          chegar Chris Hegarty added a comment - JDK-8137058 added sun.reflect
          Hide
          chegar Chris Hegarty added a comment -
          Since all subtasks have been completed, this issue can now be closed.
          Show
          chegar Chris Hegarty added a comment - Since all subtasks have been completed, this issue can now be closed.

            People

            • Assignee:
              chegar Chris Hegarty
              Reporter:
              chegar Chris Hegarty
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: