[11] Review request: 8195801: Replace jdk.internal.misc.Unsafe with sun.misc.Unsafe in MarlinFX

Kevin Rushforth kevin.rushforth at oracle.com
Thu Jan 25 19:18:20 UTC 2018

Hi Laurent and Phil,

Please review the following fix:


This removes the dependency on the internal jdk.internal.misc.Unsafe 
class, and goes back to using sun.misc.Unsafe, which is still available 
publicly as one of the critical APIs identified in JEP 260 [1].

This fix is one part of a larger effort to reduce the usage of internal 
APIs [2].

-- Kevin

[1] http://openjdk.java.net/jeps/260
[2] https://bugs.openjdk.java.net/browse/JDK-8195798

More information about the openjfx-dev mailing list