[jdk17u-dev] RFR: 8338281: jshell does not run shutdown hooks

Satyen Subramaniam ssubramaniam at openjdk.org
Mon May 19 22:22:05 UTC 2025


Backporting JDK-8338281: jshell does not run shutdown hooks. Adjusts logic to now exit the remote agent when receiving the CLOSE event and delays the JShell's close for a moment for the remote process to finish. Ran GHA Sanity Checks, local Tier 1 and 2, and adjusted test. Patch is clean.

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

Commit messages:
 - Backport 8c8b5801fd9d28a71edf3bd8d1fae857817e27de

Changes: https://git.openjdk.org/jdk17u-dev/pull/3595/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3595&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8338281
  Stats: 75 lines in 3 files changed: 73 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/3595.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3595/head:pull/3595

PR: https://git.openjdk.org/jdk17u-dev/pull/3595


More information about the jdk-updates-dev mailing list