Moving sun.misc.VM

Sanne Grinovero sanne at redhat.com
Wed Jan 20 15:18:19 UTC 2016


Hello all,
while testing latest Java 9 build 9-ea+101-2016-01-13-182959.javare.4276.nc with some popular OSS libraries, I noticed that sun.misc.VM is gone and this will cause some issues.

This is causing compilation failures of type "cannot find symbol". Similarly the same projects are using sun.misc.Unsafe, but in that case we're getting a warning "sun.misc.Unsafe is internal proprietary API and may be removed in a future release".

Is it intentional that sun.misc.VM takes a more aggressive migration path than the nice warnings we're getting for Unsafe?

Thanks,
Sanne



More information about the core-libs-dev mailing list