On Fri, 17 Apr 2026 16:59:14 GMT, David Beaumont <[email protected]> wrote:

> Note: all resources. The class bytes of a preview class is a resource.

It's the names of all resources in the module. There aren't names starting with 
"META-INF/preview". Note that it's similar to the view with multi-release JARs 
where the stream doesn't return names starting with "META-INF/versions" (see 
JarFile::versionedStream).

I think the only difference to highlight is the URL where a URL to an entry 
backed by a resource in a versioned stream needs to encode the "real path". 
This was a forced move for MR JARs but should not be necessary here as the jrt 
URL is the current runtime.

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

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

Reply via email to