8222292: runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/ArrayIndexOutOfBoundsExceptionTest.java timeout but test passed
authordholmes
Thu, 09 May 2019 18:42:07 -0400
changeset 54800 ad757676262c
parent 54799 2a25ece54fd8
child 54801 ac8493c4a747
8222292: runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/ArrayIndexOutOfBoundsExceptionTest.java timeout but test passed Reviewed-by: goetz, lfoltan, kvn
test/hotspot/jtreg/runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/ArrayIndexOutOfBoundsExceptionTest.java
--- a/test/hotspot/jtreg/runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/ArrayIndexOutOfBoundsExceptionTest.java	Thu May 09 16:34:20 2019 -0500
+++ b/test/hotspot/jtreg/runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/ArrayIndexOutOfBoundsExceptionTest.java	Thu May 09 18:42:07 2019 -0400
@@ -26,8 +26,14 @@
  * @test
  * @summary Test extended ArrayIndexOutOfBoundsException message. The
  *   message lists information about the array and the indexes involved.
- * @compile ArrayIndexOutOfBoundsExceptionTest.java
+ * @comment This will run in 'normal' mode when Graal is not enabled, else
+ *   Graal mode.
  * @run testng ArrayIndexOutOfBoundsExceptionTest
+ */
+/**
+ * @test
+ * @requires !vm.graal.enabled
+ * @comment These test C1 and C2 so make no sense when Graal is enabled.
  * @run testng/othervm -Xcomp -XX:-TieredCompilation  ArrayIndexOutOfBoundsExceptionTest
  * @run testng/othervm -Xcomp -XX:TieredStopAtLevel=1 ArrayIndexOutOfBoundsExceptionTest
  */