static { theUnsafe = new SunUnsafe(); BYTE_ARRAY_BASE_OFFSET = theUnsafe.arrayBaseOffset(byte[].class); if (theUnsafe.arrayIndexScale(byte[].class) != 1) { throw new AssertionError(); } }