8213172: CDS and JFR tests fail with assert(JdkJfrEvent::is(klass)) failed: invariant

Reviewed-by: egahlin, dholmes
This commit is contained in:
Markus Grönlund 2018-10-31 09:09:23 +01:00
parent 99621df489
commit e4f5ffc403

View File

@ -468,7 +468,7 @@ bool Dictionary::is_valid_protection_domain(unsigned int hash,
#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();