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
--- 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;
}
}