RFR: 8299934: LocalExecutionControl replaces default uncaught exception handler [v3]
Jan Lahoda
jlahoda at openjdk.org
Fri May 2 18:29:34 UTC 2025
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/12982/files
- new: https://git.openjdk.org/jdk/pull/12982/files/7dfb749e..a329f2bf
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=12982&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=12982&range=01-02
Stats: 3656895 lines in 30744 files changed: 1759207 ins; 1289706 del; 607982 mod
Patch: https://git.openjdk.org/jdk/pull/12982.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/12982/head:pull/12982
PR: https://git.openjdk.org/jdk/pull/12982
More information about the kulla-dev
mailing list