Revert "HBASE-25227 [branch-1] Fix Java 11 runtime issue in UnsafeAccess (#2594)"

This reverts commit 2e3f842dc7b5961c3cd3a84d76dd50575a0ff76d.
This commit is contained in:
Andrew Purtell 2020-10-29 14:40:01 -07:00
parent 2e3f842dc7
commit 60105e1b22

View File

@ -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 long BYTE_ARRAY_BASE_OFFSET;
public static final int BYTE_ARRAY_BASE_OFFSET;
public static final boolean LITTLE_ENDIAN =
ByteOrder.nativeOrder().equals(ByteOrder.LITTLE_ENDIAN);