changeset 41116:3b26017f6dc2

8165889: Remove jdk.test.lib.unsafe.UnsafeHelper Summary: Remove use of setAccessible() to get Unsafe. Reviewed-by: shade, lfoltan
author gtriantafill
date Wed, 14 Sep 2016 08:16:16 -0400
parents 364a0c517151
children 57810b6b669e
files jdk/test/jdk/internal/misc/Unsafe/TestBadHostClass.java
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/test/jdk/internal/misc/Unsafe/TestBadHostClass.java	Sat Sep 10 12:23:52 2016 -0700
+++ b/jdk/test/jdk/internal/misc/Unsafe/TestBadHostClass.java	Wed Sep 14 08:16:16 2016 -0400
@@ -25,7 +25,6 @@
  * @test
  * @bug 8058575
  * @summary Test that bad host classes cause exceptions to get thrown.
- * @library /test/lib
  * @modules java.base/jdk.internal.misc
  *          java.base/jdk.internal.org.objectweb.asm
  * @run main TestBadHostClass
@@ -35,7 +34,6 @@
 import java.lang.*;
 import java.lang.reflect.Field;
 import jdk.internal.misc.Unsafe;
-import jdk.test.lib.unsafe.UnsafeHelper;
 import jdk.internal.org.objectweb.asm.ClassWriter;
 import static jdk.internal.org.objectweb.asm.Opcodes.*;