On Wed, 22 Apr 2026 13:31:40 GMT, David Beaumont <[email protected]> wrote:

> Added correct checks to "fast path" read methods in ImageReader to avoid 
> module readers being able to see preview resources.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This looks okay to fix the issue in the lworld branch.

Discussion on whether META-INF/preview is hidden or not when preview features 
are disabled is still ongoing for main line.

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

Marked as reviewed by alanb (no project role).

PR Review: 
https://git.openjdk.org/valhalla/pull/2354#pullrequestreview-4155215854

Reply via email to