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

Paul Hohensee phh at openjdk.org
Tue May 20 20:28:57 UTC 2025


On Mon, 19 May 2025 22:18:01 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:

> 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.

Doesn't look like

#include java.util.stream.Stream;

is necessary in JdiDefaultExecutionContxrol.java.

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

PR Review: https://git.openjdk.org/jdk17u-dev/pull/3595#pullrequestreview-2855501176


More information about the jdk-updates-dev mailing list