Integrated: 8317294: Classloading throws exceptions over already pending exceptions
Aleksey Shipilev
shade at openjdk.org
Wed Oct 4 08:01:49 UTC 2023
On Fri, 29 Sep 2023 11:23:53 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> See the bug for reproducer. I think we are just missing `return` after throwing the previous exception in `ClassFileParser::check_super_interface_access`. So we re-enter the method again with another exception in hand and fail the assert. This path is special, because we are looping, and we really need to exit after the first exception.
>
> It is not easy to add a regression test that pokes into super-interfaces from some JDK internals.
>
> Additional testing:
> - [x] CTW reproducer no longer fails
> - [x] Linux AArch64 `tier1 tier2 tier3` fastdebug
This pull request has now been integrated.
Changeset: d4c904d8
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d4c904d81970bbe5b0afe1029eae705366779839
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
8317294: Classloading throws exceptions over already pending exceptions
Reviewed-by: dholmes, coleenp
-------------
PR: https://git.openjdk.org/jdk/pull/15984
More information about the hotspot-runtime-dev
mailing list