RFR: 8299934: LocalExecutionControl replaces default uncaught exception handler [v3]

Chen Liang liach at openjdk.org
Fri May 2 19:02:07 UTC 2025


On Fri, 2 May 2025 18:29:34 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

>> The JShell's `LocalExecutionControl` set the global default uncaught exception handler, causing problems to external code that might rely on it (even if only for logging/debugging purposes).
>> 
>> The proposal here is to do what the bug is suggesting, and only handling the exception inside the `ThreadGroup` that JShell creates. The patch does not strive to do further changes to how the exception handling is done.
>
> Jan Lahoda has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
> 
>  - Merge branch 'master' into JDK-8299934
>  - Updating copyright years.
>  - 8299934: LocalExecutionControl replaces default uncaught exception handler

Copyright year update looks good.

-------------

Marked as reviewed by liach (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/12982#pullrequestreview-2812709456


More information about the kulla-dev mailing list