RFR: 8314614: jdk/jshell/ImportTest.java failed with "InternalError: Failed remote listen"
Jan Lahoda
jlahoda at openjdk.org
Mon Nov 13 15:30:16 UTC 2023
JShell by default runs the user's snippets in a separate JVM. This is usually reliable, but during tests, it sometimes happens the remote/separate JVM does not start properly, and the tests fail.
This patch tries to change the default JShell execution in tests so that if the start of the separate JVM fails, the "local" (in process) execution is used. This should improve the stability of the tests.
Non-test JShell execution remains unmodified.
Note that individual tests can override this behavior, for example when they want to test a specific execution.
-------------
Commit messages:
- Fixing tests.
- Only modifying tests.
- 8314614: jdk/jshell/ImportTest.java failed with "InternalError: Failed remote listen"
Changes: https://git.openjdk.org/jdk/pull/16632/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16632&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8314614
Stats: 74 lines in 9 files changed: 66 ins; 0 del; 8 mod
Patch: https://git.openjdk.org/jdk/pull/16632.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16632/head:pull/16632
PR: https://git.openjdk.org/jdk/pull/16632
More information about the kulla-dev
mailing list