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
This commit is contained in:
Markus Grönlund 2018-11-23 10:51:59 +01:00
parent 19e69dc84f
commit 954c14dc83

View File

@ -447,6 +447,7 @@ static bool should_register_klass(const InstanceKlass* ik, bool& untypedEventHan
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;
}
}