< prev index next >
test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityBase.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 22,58 ****
*/
/*
* @test TestCompilerDirectivesCompatibilityBase
* @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:+WhiteBoxAPI TestCompilerDirectivesCompatibilityBase
! * @summary Test compiler control compatibility with compile command
*/
import compiler.testlibrary.CompilerUtils;
import compiler.whitebox.CompilerWhiteBoxTest;
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 TestCompilerDirectivesCompatibilityBase {
public static final WhiteBox WB = WhiteBox.getWhiteBox();
public static String control_on, control_off;
--- 22,60 ----
*/
/*
* @test TestCompilerDirectivesCompatibilityBase
* @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.TestCompilerDirectivesCompatibilityBase
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
! * @run testng/othervm -Xbootclasspath/a:. -Xmixed -XX:+UnlockDiagnosticVMOptions
! * -XX:+WhiteBoxAPI
! * compiler.compilercontrol.TestCompilerDirectivesCompatibilityBase
*/
+ package compiler.compilercontrol;
+
import compiler.testlibrary.CompilerUtils;
import compiler.whitebox.CompilerWhiteBoxTest;
import jdk.test.lib.dcmd.CommandExecutor;
import jdk.test.lib.dcmd.JMXExecutor;
import org.testng.annotations.Test;
import sun.hotspot.WhiteBox;
import java.io.File;
import java.lang.reflect.Method;
public class TestCompilerDirectivesCompatibilityBase {
public static final WhiteBox WB = WhiteBox.getWhiteBox();
public static String control_on, control_off;
< prev index next >