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

Jan Lahoda jlahoda at openjdk.org
Fri May 2 18:15:42 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 incrementally with one additional commit since the last revision:

  Updating copyright years.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12982/files
  - new: https://git.openjdk.org/jdk/pull/12982/files/02bcfea2..7dfb749e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12982&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12982&range=00-01

  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 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