8215317: [GRAAL] unit test CheckGraalIntrinsics failed after 8213754
authorkvn
Wed, 12 Dec 2018 21:02:46 -0800
changeset 53000 108a161aed93
parent 52999 8b585e1b2805
child 53001 50aff73aaba3
8215317: [GRAAL] unit test CheckGraalIntrinsics failed after 8213754 Summary: Fix CheckGraalIntrinsics test for new intrinsics. Reviewed-by: iveresov, never
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/hotspot/test/CheckGraalIntrinsics.java
--- a/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/hotspot/test/CheckGraalIntrinsics.java	Thu Dec 13 12:34:35 2018 +0800
+++ b/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/hotspot/test/CheckGraalIntrinsics.java	Wed Dec 12 21:02:46 2018 -0800
@@ -374,6 +374,14 @@
                             "jdk/jfr/internal/JVM.getEventWriter()Ljava/lang/Object;");
         }
 
+        if (isJDK12OrHigher()) {
+            add(toBeInvestigated,
+                            "java/lang/CharacterDataLatin1.isDigit(I)Z",
+                            "java/lang/CharacterDataLatin1.isLowerCase(I)Z",
+                            "java/lang/CharacterDataLatin1.isUpperCase(I)Z",
+                            "java/lang/CharacterDataLatin1.isWhitespace(I)Z");
+        }
+
         if (!config.inlineNotify()) {
             add(ignore, "java/lang/Object.notify()V");
         }