mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-03 15:08:24 +00:00
8365532: java/lang/module/ModuleReader/ModuleReaderTest.testImage fails
Reviewed-by: alanb
This commit is contained in:
parent
a65f200220
commit
44b19c01ac
@ -430,6 +430,7 @@ public final class SystemModuleFinders {
|
||||
|
||||
@Override
|
||||
public Optional<URI> find(String name) throws IOException {
|
||||
Objects.requireNonNull(name);
|
||||
String resourcePath = "/" + module + "/" + name;
|
||||
if (containsResource(resourcePath)) {
|
||||
URI u = JNUA.create("jrt", resourcePath);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user