src/java.base/share/classes/java/util/concurrent/CompletableFuture.java
Print this page
rev 12972 : 8140606: Update library code to use internal Unsafe
Reviewed-by: duke
*** 2773,2783 ****
(T value, long timeout, TimeUnit unit) {
throw new UnsupportedOperationException(); }
}
// Unsafe mechanics
! private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
private static final long RESULT;
private static final long STACK;
private static final long NEXT;
static {
try {
--- 2773,2783 ----
(T value, long timeout, TimeUnit unit) {
throw new UnsupportedOperationException(); }
}
// Unsafe mechanics
! private static final jdk.internal.misc.Unsafe U = jdk.internal.misc.Unsafe.getUnsafe();
private static final long RESULT;
private static final long STACK;
private static final long NEXT;
static {
try {