Integrated: 8299934: LocalExecutionControl replaces default uncaught exception handler

Jan Lahoda jlahoda at openjdk.org
Mon May 5 09:03:53 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.

This pull request has now been integrated.

Changeset: f1e06c3c
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f1e06c3c050b3440555d63b6de80fe9f60b35dfa
Stats:     179 lines in 2 files changed: 165 ins; 10 del; 4 mod

8299934: LocalExecutionControl replaces default uncaught exception handler

Reviewed-by: liach

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

PR: https://git.openjdk.org/jdk/pull/12982


More information about the kulla-dev mailing list