RFR [9] 8153286: Move sun.misc.GC to java.rmi ( sun.rmi.transport )

Chris Hegarty chris.hegarty at oracle.com
Mon Apr 4 10:26:55 UTC 2016

[ including build-dev ]

> 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.
> http://cr.openjdk.java.net/~chegar/8153286/
> https://bugs.openjdk.java.net/browse/JDK-8153286
> -Chris.

More information about the build-dev mailing list