Integrated: 8366926: Unexpected exception occurs when executing code in a "local" JShell environment
Adam Sotona
asotona at openjdk.org
Tue Sep 23 09:12:52 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
This pull request has now been integrated.
Changeset: d316d3f7
Author: Adam Sotona <asotona at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d316d3f74fd951613eef3870ee3da2c2dc5b719c
Stats: 89 lines in 2 files changed: 84 ins; 2 del; 3 mod
8366926: Unexpected exception occurs when executing code in a "local" JShell environment
Reviewed-by: liach, jlahoda
-------------
PR: https://git.openjdk.org/jdk/pull/27436
More information about the compiler-dev
mailing list