changeset 52671:600fca45232b

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
author mgronlun
date Fri, 23 Nov 2018 10:51:59 +0100
parents eb6864cdcd61
children bbfa1b3aaf7e
files src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
     }
   }