Fix compiler error
This commit is contained in:
parent
17849d6b58
commit
99a0078321
@ -163,6 +163,9 @@
|
||||
<excludes>
|
||||
<exclude>module-info.java</exclude>
|
||||
</excludes>
|
||||
<compilerArgs>
|
||||
<arg>--add-modules=jdk.unsupported</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
@ -14,6 +14,7 @@ import java.util.Iterator;
|
||||
import java.util.NoSuchElementException;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import org.jctools.maps.ConcurrentAutoTable;
|
||||
import org.jctools.util.UnsafeAccess;
|
||||
import sun.misc.Unsafe;
|
||||
|
||||
/**
|
||||
@ -42,7 +43,7 @@ import sun.misc.Unsafe;
|
||||
|
||||
public class NonBlockingSetInt extends AbstractSet<Integer> implements Serializable {
|
||||
private static final long serialVersionUID = 1234123412341234123L;
|
||||
private static final Unsafe _unsafe = Unsafe.getUnsafe();
|
||||
private static final Unsafe _unsafe = UnsafeAccess.UNSAFE;
|
||||
|
||||
// --- Bits to allow atomic update of the NBSI
|
||||
private static final long _nbsi_offset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user