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

Archie Cobbs acobbs at openjdk.org
Sun Jan 4 18:39:33 UTC 2026


> 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 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 five additional commits since the last revision:

 - Update copyrights to 2026.
 - Merge branch 'master' into JDK-8353487
 - Merge branch 'master' into JDK-8353487
 - Replace decorateExecution() with doInvoke() per review suggestion.
 - Add method LocalExecutionControl.decorateExecution().

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

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

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

  Stats: 1387825 lines in 15300 files changed: 782108 ins; 470108 del; 135609 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 compiler-dev mailing list