src/java.base/solaris/classes/sun/nio/ch/SolarisEventPort.java

Print this page
rev 12972 : 8140606: Update library code to use internal Unsafe
Reviewed-by: duke

*** 26,36 **** package sun.nio.ch; import java.nio.channels.spi.AsynchronousChannelProvider; import java.util.concurrent.RejectedExecutionException; import java.io.IOException; ! import sun.misc.Unsafe; /** * Provides an AsynchronousChannelGroup implementation based on the Solaris 10 * event port framework and also provides direct access to that framework. */ --- 26,36 ---- package sun.nio.ch; import java.nio.channels.spi.AsynchronousChannelProvider; import java.util.concurrent.RejectedExecutionException; import java.io.IOException; ! import jdk.internal.misc.Unsafe; /** * Provides an AsynchronousChannelGroup implementation based on the Solaris 10 * event port framework and also provides direct access to that framework. */