< prev index next >

test/compiler/types/correctness/OffTest.java

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

*** 22,59 **** */ /* * @test CorrectnessTest * @bug 8038418 ! * @library /testlibrary /test/lib * @modules java.base/jdk.internal.misc * java.management * @ignore 8066173 ! * @compile execution/TypeConflict.java execution/TypeProfile.java ! * execution/MethodHandleDelegate.java ! * @build CorrectnessTest ! * @build OffTest ! * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission ! * @run main/timeout=1200 OffTest */ import jdk.test.lib.OutputAnalyzer; import jdk.test.lib.ProcessTools; import jdk.test.lib.Utils; import java.util.Random; - import scenarios.ProfilingType; public class OffTest { private static final String[] OPTIONS = { "-Xbootclasspath/a:.", "-XX:+IgnoreUnrecognizedVMOptions", "-XX:+UnlockExperimentalVMOptions", "-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", ! "-XX:CompileCommand=exclude,execution/*::methodNotToCompile", ! "-XX:CompileCommand=dontinline,scenarios/Scenario::collectReturnType", "", // -XX:TypeProfileLevel=? "", // -XX:?UseTypeSpeculation CorrectnessTest.class.getName(), "", // ProfilingType.name() }; --- 22,60 ---- */ /* * @test CorrectnessTest * @bug 8038418 ! * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc * java.management + * * @ignore 8066173 ! * @build compiler.types.correctness.OffTest ! * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission ! * @run main/timeout=1200 compiler.types.correctness.OffTest */ + package compiler.types.correctness; + + import compiler.types.correctness.scenarios.ProfilingType; import jdk.test.lib.OutputAnalyzer; import jdk.test.lib.ProcessTools; import jdk.test.lib.Utils; + import java.util.Random; public class OffTest { private static final String[] OPTIONS = { "-Xbootclasspath/a:.", "-XX:+IgnoreUnrecognizedVMOptions", "-XX:+UnlockExperimentalVMOptions", "-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", ! "-XX:CompileCommand=exclude,compiler.types.correctness.execution.*::methodNotToCompile", ! "-XX:CompileCommand=dontinline,compiler.types.correctness.scenarios.Scenario::collectReturnType", "", // -XX:TypeProfileLevel=? "", // -XX:?UseTypeSpeculation CorrectnessTest.class.getName(), "", // ProfilingType.name() };
< prev index next >