< prev index next >

test/compiler/c1/Test6932496.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 25,48 **** /** * @test * @bug 6932496 * @summary incorrect deopt of jsr subroutine on 64 bit c1 * @modules java.base/jdk.internal.org.objectweb.asm ! * @run main/othervm -Xcomp -XX:CompileOnly=Test.test Test6932496 */ - import java.lang.reflect.Method; - import java.nio.file.Files; - import java.nio.file.Paths; - import java.io.IOException; import jdk.internal.org.objectweb.asm.ClassWriter; - import jdk.internal.org.objectweb.asm.MethodVisitor; import jdk.internal.org.objectweb.asm.FieldVisitor; import jdk.internal.org.objectweb.asm.Opcodes; import jdk.internal.org.objectweb.asm.Type; - import jdk.internal.org.objectweb.asm.Label; public class Test6932496 extends ClassLoader { private static final int CLASS_FILE_VERSION = 49; private static final String CLASS_TEST = "Test"; private static final String CLASS_OBJECT = "java/lang/Object"; private static final String METHOD_INIT = "<init>"; --- 25,54 ---- /** * @test * @bug 6932496 * @summary incorrect deopt of jsr subroutine on 64 bit c1 * @modules java.base/jdk.internal.org.objectweb.asm ! * ! * @run main/othervm -Xcomp ! * -XX:CompileCommand=compileonly,compiler.c1.Test6932496::test ! * compiler.c1.Test6932496 */ + package compiler.c1; + import jdk.internal.org.objectweb.asm.ClassWriter; import jdk.internal.org.objectweb.asm.FieldVisitor; + import jdk.internal.org.objectweb.asm.Label; + import jdk.internal.org.objectweb.asm.MethodVisitor; import jdk.internal.org.objectweb.asm.Opcodes; import jdk.internal.org.objectweb.asm.Type; + import java.io.IOException; + import java.lang.reflect.Method; + import java.nio.file.Files; + import java.nio.file.Paths; + public class Test6932496 extends ClassLoader { private static final int CLASS_FILE_VERSION = 49; private static final String CLASS_TEST = "Test"; private static final String CLASS_OBJECT = "java/lang/Object"; private static final String METHOD_INIT = "<init>";
< prev index next >