Integrated: 8314614: jdk/jshell/ImportTest.java failed with "InternalError: Failed remote listen"

Jan Lahoda jlahoda at openjdk.org
Thu Nov 23 07:18:20 UTC 2023


On Mon, 13 Nov 2023 15:23:05 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: 14193a04
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/14193a049ebcbd3639962729c631293b8d3a9114
Stats:     106 lines in 15 files changed: 66 ins; 18 del; 22 mod

8314614: jdk/jshell/ImportTest.java failed with "InternalError: Failed remote listen"
8312140: jdk/jshell tests failed with JDI socket timeouts

Reviewed-by: asotona

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

PR: https://git.openjdk.org/jdk/pull/16632


More information about the kulla-dev mailing list