8214161: java.lang.IllegalAccessError: class jdk.internal.event.X509CertificateEvent (in module java.base) cannot access class jdk.jfr.internal.handlers.EventHandler (in module jdk.jfr) because module java.base does not read module jdk.jfr
authormgronlun
Fri, 23 Nov 2018 10:51:59 +0100
changeset 52671 600fca45232b
parent 52670 eb6864cdcd61
child 52672 bbfa1b3aaf7e
8214161: java.lang.IllegalAccessError: class jdk.internal.event.X509CertificateEvent (in module java.base) cannot access class jdk.jfr.internal.handlers.EventHandler (in module jdk.jfr) because module java.base does not read module jdk.jfr Reviewed-by: egahlin, dholmes
src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp
--- a/src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp	Fri Nov 23 13:16:45 2018 +0530
+++ b/src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp	Fri Nov 23 10:51:59 2018 +0100
@@ -447,6 +447,7 @@
   if (registered_symbol == NULL) {
     registered_symbol = SymbolTable::lookup_only(registered_constant, sizeof registered_constant - 1, unused_hash);
     if (registered_symbol == NULL) {
+      untypedEventHandler = true;
       return false;
     }
   }