We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5b3b09 + e4bf5c1 commit 48f557eCopy full SHA for 48f557e
jcl/src/java.base/share/classes/java/lang/Access.java
@@ -595,6 +595,7 @@ public Thread currentCarrierThread() {
595
return Thread.currentCarrierThread();
596
}
597
598
+ /*[IF JAVA_SPEC_VERSION < 24]*/
599
public <V> V executeOnCarrierThread(Callable<V> task) throws Exception {
600
V result;
601
Thread currentThread = Thread.currentThread();
@@ -611,6 +612,7 @@ public <V> V executeOnCarrierThread(Callable<V> task) throws Exception {
611
612
613
return result;
614
615
+ /*[ENDIF] JAVA_SPEC_VERSION < 24 */
616
617
public Continuation getContinuation(Thread thread) {
618
return thread.getContinuation();
0 commit comments