< prev index next >

test/compiler/whitebox/MakeMethodNotCompilableTest.java

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

*** 19,43 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ - import compiler.whitebox.CompilerWhiteBoxTest; - /* * @test MakeMethodNotCompilableTest * @bug 8012322 8006683 8007288 8022832 * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc ! * @modules java.management ! * @build MakeMethodNotCompilableTest * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission ! * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xmixed -XX:-UseCounterDecay MakeMethodNotCompilableTest ! * @summary testing of WB::makeMethodNotCompilable() ! * @author igor.ignatyev@oracle.com */ public class MakeMethodNotCompilableTest extends CompilerWhiteBoxTest { private int bci; public static void main(String[] args) throws Exception { String directive = "[{ match:\"*SimpleTestCaseHelper.*\", BackgroundCompilation: false }, " + --- 19,45 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ /* * @test MakeMethodNotCompilableTest * @bug 8012322 8006683 8007288 8022832 + * @summary testing of WB::makeMethodNotCompilable() * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc ! * java.management ! * @build compiler.whitebox.MakeMethodNotCompilableTest * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission ! * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions ! * -XX:+WhiteBoxAPI -Xmixed -XX:-UseCounterDecay ! * compiler.whitebox.MakeMethodNotCompilableTest */ + + package compiler.whitebox; + public class MakeMethodNotCompilableTest extends CompilerWhiteBoxTest { private int bci; public static void main(String[] args) throws Exception { String directive = "[{ match:\"*SimpleTestCaseHelper.*\", BackgroundCompilation: false }, " +
< prev index next >