RFR: 8299934: LocalExecutionControl replaces default uncaught exception handler
Chen Liang
liach at openjdk.org
Tue Apr 22 15:43:47 UTC 2025
On Fri, 10 Mar 2023 19:48:42 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.
lgtm. I assume the copyright year 2023 for LocalExecutionControlExceptionTest is accurate.
-------------
Marked as reviewed by liach (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/12982#pullrequestreview-2784556326
More information about the kulla-dev
mailing list