HBASE-25227 [branch-1] Fix Java 11 runtime issue in UnsafeAccess #2594
Reapply with corrected commit message. Signed-off-by: Reid Chan <reidchan@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: Bharath Vissapragada <bharathv@apache.org> Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
parent
60105e1b22
commit
8813b3bfc1
|
@ -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…
Reference in New Issue