Integrated: 8366582: Test jdk/jshell/ToolSimpleTest.java failed: provider not found

Jan Lahoda jlahoda at openjdk.org
Mon Sep 29 05:39:25 UTC 2025


On Wed, 17 Sep 2025 08:15:21 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> The `jdk/jshell/ToolSimpleTest.java` randomly fails, the reason is this: when indexing the bootclasspath/`PLATFORM_CLASS_PATH`, `$JDK_HOME/lib/modules` is typically there, but it can't be opened as a FileSystem, and the exception is sent to the debugging facility. The debugging facility typically does nothing, but in this test contains a test case that enabled debugging, and if the order of things is that the debugging is first enabled, and then the `ProviderNotFoundException` is reported, the test fails.
> 
> The proposal herein is to not to try to open `$JDK_HOME/lib/modules` as a file system. Note the standard platform classes are indexed using `SYSTEM_MODULES`.

This pull request has now been integrated.

Changeset: d53190ac
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d53190ac4485e535f0a603036ecf47d4ff6e4178
Stats:     8 lines in 2 files changed: 5 ins; 2 del; 1 mod

8366582: Test jdk/jshell/ToolSimpleTest.java failed: provider not found

Reviewed-by: asotona

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

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


More information about the compiler-dev mailing list