< prev index next >
test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityCommandOff.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 22,61 ****
*/
/*
* @test TestCompilerDirectivesCompatibilityCommandOff
* @bug 8137167
* @library /testlibrary /test/lib /
* @modules java.base/jdk.internal.misc
* java.compiler
* java.management
* @build jdk.test.lib.*
* jdk.test.lib.dcmd.*
* sun.hotspot.WhiteBox
* compiler.testlibrary.CompilerUtils
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run testng/othervm -Xbootclasspath/a:. -Xmixed -XX:+UnlockDiagnosticVMOptions
* -XX:-PrintAssembly -XX:CompileCommand=option,*.helper,bool,PrintAssembly,false
! * -XX:+WhiteBoxAPI TestCompilerDirectivesCompatibilityCommandOff
! * @summary Test compiler control compatibility with compile command
*/
import jdk.test.lib.dcmd.CommandExecutor;
- import jdk.test.lib.dcmd.JMXExecutor;
- import org.testng.annotations.Test;
- import org.testng.Assert;
-
- import sun.hotspot.WhiteBox;
-
- import java.io.BufferedReader;
- import java.io.File;
- import java.io.StringReader;
- import java.lang.reflect.Method;
- import java.util.Objects;
-
public class TestCompilerDirectivesCompatibilityCommandOff extends TestCompilerDirectivesCompatibilityBase {
public void testCompatibility(CommandExecutor executor, int comp_level) throws Exception {
// Call all validation twice to catch error when overwriting a directive
--- 22,54 ----
*/
/*
* @test TestCompilerDirectivesCompatibilityCommandOff
* @bug 8137167
+ * @summary Test compiler control compatibility with compile command
* @library /testlibrary /test/lib /
* @modules java.base/jdk.internal.misc
* java.compiler
* java.management
+ *
* @build jdk.test.lib.*
* jdk.test.lib.dcmd.*
* sun.hotspot.WhiteBox
* compiler.testlibrary.CompilerUtils
+ * compiler.compilercontrol.TestCompilerDirectivesCompatibilityCommandOff
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run testng/othervm -Xbootclasspath/a:. -Xmixed -XX:+UnlockDiagnosticVMOptions
* -XX:-PrintAssembly -XX:CompileCommand=option,*.helper,bool,PrintAssembly,false
! * -XX:+WhiteBoxAPI
! * compiler.compilercontrol.TestCompilerDirectivesCompatibilityCommandOff
*/
+ package compiler.compilercontrol;
+
import jdk.test.lib.dcmd.CommandExecutor;
public class TestCompilerDirectivesCompatibilityCommandOff extends TestCompilerDirectivesCompatibilityBase {
public void testCompatibility(CommandExecutor executor, int comp_level) throws Exception {
// Call all validation twice to catch error when overwriting a directive
< prev index next >