RFR: 8254196: jshell infinite loops when startup script contains System.exit call
Athijegannathan Sundararajan
sundar at openjdk.java.net
Tue Mar 23 13:16:41 UTC 2021
On Tue, 23 Mar 2021 12:57:40 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
> If the startup script contains `System.exit(0);`, JShell will end up in an infinite loop of remote agent crashing, restarting, startup script running on the new instance, crashing, etc.
>
> The proposal here is to avoid re-running the script from the beginning after the remote stops during startup. This should be fairly consistent with behavior of options like "/reload". Behavior in other cases should be unmodified.
Marked as reviewed by sundar (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/3150
More information about the kulla-dev
mailing list