mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-04 21:20:17 +00:00
8165889: Remove jdk.test.lib.unsafe.UnsafeHelper
Remove use of setAccessible() to get Unsafe. Reviewed-by: shade, lfoltan
This commit is contained in:
parent
1808257845
commit
5bc6d1fab5
@ -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.*;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user