RFR: 8353487: JShell LocalExecutionControl should allow decorating the execution task [v2]

Archie Cobbs acobbs at openjdk.org
Fri Apr 4 16:55:11 UTC 2025


> This PR adds the ability for subclasses of JShell's `LocalExecutionControl` to configure thread-local context in the execution thread that snippets execute in. Please see [JDK-8353487](https://bugs.openjdk.org/browse/JDK-8353487) for more details & rationale.

Archie Cobbs has updated the pull request incrementally with one additional commit since the last revision:

  Replace decorateExecution() with doInvoke() per review suggestion.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24398/files
  - new: https://git.openjdk.org/jdk/pull/24398/files/68cccbf1..8c472446

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

  Stats: 28 lines in 2 files changed: 9 ins; 2 del; 17 mod
  Patch: https://git.openjdk.org/jdk/pull/24398.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24398/head:pull/24398

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


More information about the kulla-dev mailing list