8142967: [TESTBUG] Compiler control tests get NullPointerException
authorppunegov
Tue, 24 Nov 2015 21:03:39 +0300
changeset 34218 4b22b04519e6
parent 34217 fb4d7b34e67e
child 34219 eb43fec35c99
8142967: [TESTBUG] Compiler control tests get NullPointerException Summary: Fix incoorect build jtreg tags Reviewed-by: iignatyev, neliasso
hotspot/test/compiler/compilercontrol/InlineMatcherTest.java
hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityBase.java
hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityCommandOff.java
hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityCommandOn.java
hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityFlag.java
--- a/hotspot/test/compiler/compilercontrol/InlineMatcherTest.java	Tue Nov 24 20:58:53 2015 +0300
+++ b/hotspot/test/compiler/compilercontrol/InlineMatcherTest.java	Tue Nov 24 21:03:39 2015 +0300
@@ -24,7 +24,8 @@
 /*
  * @test InlineMatcherTest
  * @bug 8074095
- * @library /testlibrary /../../test/lib
+ * @library /testlibrary /test/lib
+ * @build sun.hotspot.WhiteBox
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI InlineMatcherTest
--- a/hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityBase.java	Tue Nov 24 20:58:53 2015 +0300
+++ b/hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityBase.java	Tue Nov 24 21:03:39 2015 +0300
@@ -30,7 +30,7 @@
  *          java.management
  * @build jdk.test.lib.*
  * @build jdk.test.lib.dcmd.*
- * @build sun.hotspot.WhiteBox.*
+ * @build sun.hotspot.WhiteBox
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  * @run testng/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI TestCompilerDirectivesCompatibilityBase
--- a/hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityCommandOff.java	Tue Nov 24 20:58:53 2015 +0300
+++ b/hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityCommandOff.java	Tue Nov 24 21:03:39 2015 +0300
@@ -30,7 +30,7 @@
  *          java.management
  * @build jdk.test.lib.*
  * @build jdk.test.lib.dcmd.*
- * @build sun.hotspot.WhiteBox.*
+ * @build sun.hotspot.WhiteBox
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  * @run testng/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
--- a/hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityCommandOn.java	Tue Nov 24 20:58:53 2015 +0300
+++ b/hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityCommandOn.java	Tue Nov 24 21:03:39 2015 +0300
@@ -30,7 +30,7 @@
  *          java.management
  * @build jdk.test.lib.*
  * @build jdk.test.lib.dcmd.*
- * @build sun.hotspot.WhiteBox.*
+ * @build sun.hotspot.WhiteBox
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  * @run testng/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
--- a/hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityFlag.java	Tue Nov 24 20:58:53 2015 +0300
+++ b/hotspot/test/compiler/compilercontrol/TestCompilerDirectivesCompatibilityFlag.java	Tue Nov 24 21:03:39 2015 +0300
@@ -30,7 +30,7 @@
  *          java.management
  * @build jdk.test.lib.*
  * @build jdk.test.lib.dcmd.*
- * @build sun.hotspot.WhiteBox.*
+ * @build sun.hotspot.WhiteBox
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  * @run testng/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions