src/java.base/share/classes/java/nio/channels/spi/AbstractInterruptibleChannel.java
equal
deleted
inserted
replaced
28 |
28 |
29 package java.nio.channels.spi; |
29 package java.nio.channels.spi; |
30 |
30 |
31 import java.io.IOException; |
31 import java.io.IOException; |
32 import java.nio.channels.*; |
32 import java.nio.channels.*; |
33 import jdk.internal.misc.SharedSecrets; |
33 import jdk.internal.access.SharedSecrets; |
34 import sun.nio.ch.Interruptible; |
34 import sun.nio.ch.Interruptible; |
35 |
35 |
36 |
36 |
37 /** |
37 /** |
38 * Base implementation class for interruptible channels. |
38 * Base implementation class for interruptible channels. |
201 if (!completed && closed) |
201 if (!completed && closed) |
202 throw new AsynchronousCloseException(); |
202 throw new AsynchronousCloseException(); |
203 } |
203 } |
204 |
204 |
205 |
205 |
206 // -- jdk.internal.misc.SharedSecrets -- |
206 // -- jdk.internal.access.SharedSecrets -- |
207 static void blockedOn(Interruptible intr) { // package-private |
207 static void blockedOn(Interruptible intr) { // package-private |
208 SharedSecrets.getJavaLangAccess().blockedOn(intr); |
208 SharedSecrets.getJavaLangAccess().blockedOn(intr); |
209 } |
209 } |
210 } |
210 } |