8200461: MeetIncompatibleInterfaceArrays test fails with -Xcomp
authorkvn
Fri, 30 Mar 2018 07:47:20 -0700
changeset 49654 16f53c9c7493
parent 49653 a569cb4425f3
child 49655 d6893a76c554
8200461: MeetIncompatibleInterfaceArrays test fails with -Xcomp Summary: Add requires to run test only in Xmixed mode. Reviewed-by: simonis
test/hotspot/jtreg/compiler/types/TestMeetIncompatibleInterfaceArrays.java
--- a/test/hotspot/jtreg/compiler/types/TestMeetIncompatibleInterfaceArrays.java	Fri Mar 30 06:31:16 2018 +0200
+++ b/test/hotspot/jtreg/compiler/types/TestMeetIncompatibleInterfaceArrays.java	Fri Mar 30 07:47:20 2018 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 8141551
  * @summary C2 can not handle returns with inccompatible interface arrays
+ * @requires vm.compMode == "Xmixed" & vm.flavor == "server"
  * @modules java.base/jdk.internal.org.objectweb.asm
  *          java.base/jdk.internal.misc
  * @library /test/lib /