RFR [9] 8145544: Move sun.misc.VM to jdk.internal.misc

David Holmes david.holmes at oracle.com
Wed Jan 6 04:20:05 UTC 2016

Hi Chris,

Hotspot comment change looks okay.:)

I see a lot of hotspot tests that include

@modules java.base/sun.misc

but I don't understand why it is present in the few cases I looked at eg:


so not sure when it needs to be converted to jdk.internal.misc


On 5/01/2016 12:02 AM, Chris Hegarty wrote:
> sun.misc.VM provides a low-level interface for a small number
> of specific operations with the VM. In preparation for JEP 260,
> this class should be moved out of sun.misc and located in a
> non-exported package [.
> http://cr.openjdk.java.net/~chegar/8145544/00/
> Note: as in other areas some tests that require access to
> internal APIs have been updated to use types from a more
> stable package, sun.security.x509.
> -Chris.
> [1] https://bugs.openjdk.java.net/browse/JDK-8145544

More information about the core-libs-dev mailing list