< prev index next >

src/java.base/share/classes/java/nio/channels/spi/AbstractInterruptibleChannel.java

Print this page
rev 51958 : 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn

*** 28,38 **** package java.nio.channels.spi; import java.io.IOException; import java.nio.channels.*; ! import jdk.internal.misc.SharedSecrets; import sun.nio.ch.Interruptible; /** * Base implementation class for interruptible channels. --- 28,38 ---- package java.nio.channels.spi; import java.io.IOException; import java.nio.channels.*; ! import jdk.internal.access.SharedSecrets; import sun.nio.ch.Interruptible; /** * Base implementation class for interruptible channels.
*** 201,210 **** if (!completed && closed) throw new AsynchronousCloseException(); } ! // -- jdk.internal.misc.SharedSecrets -- static void blockedOn(Interruptible intr) { // package-private SharedSecrets.getJavaLangAccess().blockedOn(intr); } } --- 201,210 ---- if (!completed && closed) throw new AsynchronousCloseException(); } ! // -- jdk.internal.access.SharedSecrets -- static void blockedOn(Interruptible intr) { // package-private SharedSecrets.getJavaLangAccess().blockedOn(intr); } }
< prev index next >