mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8201494: Avoid early initialization of java.nio.Bits
Reviewed-by: rriggs, alanb
This commit is contained in:
parent
d9440e4e39
commit
9ab38159e8
4 changed files with 12 additions and 17 deletions
|
@ -183,7 +183,7 @@ import java.util.Spliterator;
|
|||
|
||||
public abstract class Buffer {
|
||||
// Cached unsafe-access object
|
||||
static final Unsafe UNSAFE = Bits.unsafe();
|
||||
static final Unsafe UNSAFE = Unsafe.getUnsafe();
|
||||
|
||||
/**
|
||||
* The characteristics of Spliterators that traverse and split elements
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue