8213172: CDS and JFR tests fail with assert(JdkJfrEvent::is(klass)) failed: invariant
authormgronlun
Wed, 31 Oct 2018 09:09:23 +0100
changeset 52340 adb107c71a12
parent 52339 cda2f582500e
child 52341 2b58b8e1d28f
8213172: CDS and JFR tests fail with assert(JdkJfrEvent::is(klass)) failed: invariant Reviewed-by: egahlin, dholmes
src/hotspot/share/classfile/dictionary.cpp
--- a/src/hotspot/share/classfile/dictionary.cpp	Wed Oct 31 10:29:59 2018 +0530
+++ b/src/hotspot/share/classfile/dictionary.cpp	Wed Oct 31 09:09:23 2018 +0100
@@ -468,7 +468,7 @@
 #if INCLUDE_CDS
 static bool is_jfr_event_class(Klass *k) {
   while (k) {
-    if (k->name()->equals("jdk/jfr/Event")) {
+    if (k->name()->equals("jdk/internal/event/Event")) {
       return true;
     }
     k = k->super();