JDK-8153286 : Move sun.misc.GC to java.rmi ( sun.rmi.transport )
  • Type: Sub-task
  • Component: core-libs
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-04-01
  • Updated: 2016-04-14
  • Resolved: 2016-04-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b114Fixed
Description
sun.misc.GC is not "Critical APIs", as defined by JEP 260, so should be moved out of sun.misc
 and placed into a more appropriate package, where it can be encapsulated. 

Since GC is only used by RMI, I proposed to move it to the java.rmi module. Since it has
a native component, and no other code in java.rmi has, then a new small native library
is required.