8317294: Classloading throws exceptions over already pending exceptions
Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
48f1a925e5
commit
d4c904d819
@ -4324,6 +4324,7 @@ void ClassFileParser::check_super_interface_access(const InstanceKlass* this_kla
|
||||
(same_module) ? this_klass->joint_in_module_of_loader(k) : this_klass->class_in_module_of_loader(),
|
||||
(same_module) ? "" : "; ",
|
||||
(same_module) ? "" : k->class_in_module_of_loader());
|
||||
return;
|
||||
} else {
|
||||
// Add additional message content.
|
||||
Exceptions::fthrow(
|
||||
@ -4331,6 +4332,7 @@ void ClassFileParser::check_super_interface_access(const InstanceKlass* this_kla
|
||||
vmSymbols::java_lang_IllegalAccessError(),
|
||||
"superinterface check failed: %s",
|
||||
msg);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user