--- old/test/runtime/Unsafe/PrimitiveHostClass.java 2016-09-12 13:57:25.939038148 -0400 +++ new/test/runtime/Unsafe/PrimitiveHostClass.java 2016-09-12 13:57:25.331065059 -0400 @@ -39,16 +39,7 @@ public class PrimitiveHostClass { - static final Unsafe U; - static { - try { - Field theUnsafe = Unsafe.class.getDeclaredField("theUnsafe"); - theUnsafe.setAccessible(true); - U = (Unsafe) theUnsafe.get(null); - } catch (Exception e) { - throw new AssertionError(e); - } - } + static final Unsafe U = Unsafe.getUnsafe(); public static void testVMAnonymousClass(Class hostClass) {