git: openjdk/leyden: hermetic-java-runtime: Support hermetic Java image in SystemModuleFinders.ofSystem(). This resolves the failure with `--list-modules` running on a hermetic image.

duke duke at openjdk.org
Fri Apr 11 18:13:40 UTC 2025


Changeset: de663787
Branch: hermetic-java-runtime
Author:    Jiangli Zhou <jianglizhou at google.com>
Date:      2025-04-11 11:10:15 +0000
URL:       https://git.openjdk.org/leyden/commit/de66378768dd6ac084b6cabc48cc986a283def36

Support hermetic Java image in SystemModuleFinders.ofSystem(). This resolves the failure with `--list-modules` running on a hermetic image.

$ ./demo-image --list-modules
[0.097s][warning][cds] Failed to open shared archive file (Not a directory)
demo
java.base at 25-internal

! src/java.base/share/classes/jdk/internal/module/SystemModuleFinders.java



More information about the leyden-dev mailing list