Skip to content

Commit

Permalink
8317294: Classloading throws exceptions over already pending exceptions
Browse files Browse the repository at this point in the history
Backport-of: d4c904d81970bbe5b0afe1029eae705366779839
  • Loading branch information
shipilev committed Oct 16, 2023
1 parent fe29973 commit 3123caa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hotspot/share/classfile/classFileParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4321,13 +4321,15 @@ 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(
THREAD_AND_LOCATION,
vmSymbols::java_lang_IllegalAccessError(),
"superinterface check failed: %s",
msg);
return;
}
}
}
Expand Down

1 comment on commit 3123caa

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.