< prev index next >

test/jdk/internal/misc/Unsafe/TestBadHostClass.java

Print this page

        

*** 23,43 **** /* * @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 */ 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.*; // Test that bad host classes cause exceptions. public class TestBadHostClass { --- 23,41 ----
< prev index next >