HBASE-25227 [branch-1] Fix Java 11 runtime issue in UnsafeAccess (#2594)
This commit is contained in:
parent
0b48208bd5
commit
2e3f842dc7
@ -42,7 +42,7 @@ public final class UnsafeAccess {
|
||||
public static final Unsafe theUnsafe;
|
||||
|
||||
/** The offset to the first element in a byte array. */
|
||||
public static final int BYTE_ARRAY_BASE_OFFSET;
|
||||
public static final long BYTE_ARRAY_BASE_OFFSET;
|
||||
|
||||
public static final boolean LITTLE_ENDIAN =
|
||||
ByteOrder.nativeOrder().equals(ByteOrder.LITTLE_ENDIAN);
|
||||
|
Loading…
x
Reference in New Issue
Block a user