test/compiler/types/correctness/OffTest.java

Print this page
rev 6415 : [mq]: 8011397.WhiteBoxPermission

*** 27,37 **** * @library /testlibrary /testlibrary/whitebox * @compile execution/TypeConflict.java execution/TypeProfile.java * execution/MethodHandleDelegate.java * @build CorrectnessTest * @build OffTest - * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main/timeout=1200 OffTest */ import com.oracle.java.testlibrary.OutputAnalyzer; import com.oracle.java.testlibrary.ProcessTools; --- 27,36 ----
*** 39,49 **** 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,execution/*::methodNotToCompile", --- 38,48 ---- import java.util.Random; public class OffTest { private static final String[] OPTIONS = { ! "-Xbootclasspath/a:" + System.getProperty("test.class.path"), "-XX:+IgnoreUnrecognizedVMOptions", "-XX:+UnlockExperimentalVMOptions", "-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", "-XX:CompileCommand=exclude,execution/*::methodNotToCompile",