Mercurial > hg > truffle
diff test/compiler/whitebox/SetForceInlineMethodTest.java @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | f9a4b59ae350 |
children | 52b4284cb496 |
line wrap: on
line diff
--- a/test/compiler/whitebox/SetForceInlineMethodTest.java Tue Apr 01 14:09:03 2014 +0200 +++ b/test/compiler/whitebox/SetForceInlineMethodTest.java Tue Apr 01 13:57:07 2014 +0200 @@ -27,17 +27,19 @@ * @library /testlibrary /testlibrary/whitebox * @build SetForceInlineMethodTest * @run main ClassFileInstaller sun.hotspot.WhiteBox - * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,SimpleTestCase$Helper::* SetForceInlineMethodTest + * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,TestCase$Helper::* SetForceInlineMethodTest * @summary testing of WB::testSetForceInlineMethod() * @author igor.ignatyev@oracle.com */ public class SetForceInlineMethodTest extends CompilerWhiteBoxTest { public static void main(String[] args) throws Exception { - CompilerWhiteBoxTest.main(SetForceInlineMethodTest::new, args); + for (TestCase test : TestCase.values()) { + new SetForceInlineMethodTest(test).runTest(); + } } - private SetForceInlineMethodTest(TestCase testCase) { + public SetForceInlineMethodTest(TestCase testCase) { super(testCase); }