On Fri, 17 Apr 2026 15:13:50 GMT, Alan Bateman <[email protected]> wrote:

>> At least with the latest valhalla EA JDK, this doesn't list any value 
>> classes.
>
> jrtfs is not used by the system ModuleReader or any part of the runtime. 
> jrtfs is for tooling, mostly javac, and doesn't strictly need to be in 
> java.base.

AFAIK, it's used by `JRTArchive`, IIRC. I might be wrong, though. The URLs 
returned by ModuleReader are `jrt:/` type URLs at least.


jshell> var uri = 
ModuleFinder.ofSystem().find("java.base").orElseThrow().open().find("java/lang/Object.class").get();
uri ==> jrt:/java.base/java/lang/Object.class

jshell> Files.size(Path.of(uri));
$15 ==> 2479

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29414#discussion_r3101609995

Reply via email to