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

Chris Hegarty chris.hegarty at oracle.com
Mon Jan 4 14:14:12 UTC 2016


On 04/01/16 14:12, Sean Mullan wrote:
> On 01/04/2016 09: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/
>
> The security-libs changes look fine to me.

Thanks Sean.

>> 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.
>
> Not sure what you mean - which tests do you mean and why is
> sun.security.x509 related to this issue?


Not an issue for security, there are a couple of langtools tests
that verify that the compiler issues an appropriate warning when
internal types are used. These tests used to use sun.misc.VM, I
changed them to use types from sun.security.x509. We have done
this in a few other placed too.

-Chris.


> --Sean
>
>>
>> -Chris.
>>
>> [1] https://bugs.openjdk.java.net/browse/JDK-8145544



More information about the security-dev mailing list