RFR: 8366926: Unexpected exception occurs when executing code in a "local" JShell environment
Jan Lahoda
jlahoda at openjdk.org
Tue Sep 23 08:15:59 UTC 2025
On Mon, 22 Sep 2025 18:54:59 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> JShell "local" execution environments instruments loaded classes.
> Instrumentation depends on the default class hierarchy resolution, which only knows already loaded classes.
> Reported bug provides a test case where class hierarchy of the local classes is required and the resolution fails.
>
> This patch configures instrumentation with the default class hierarchy resolver chained with a resolver parsing the pre-instrumentation class binaries.
>
> Please review.
>
> Thanks,
> Adam
Looks good to me, thanks!
-------------
Marked as reviewed by jlahoda (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/27436#pullrequestreview-3256787683
More information about the compiler-dev
mailing list