RFR: 8356645: Javac should utilize new ZIP file system read-only access mode

David Beaumont duke at openjdk.org
Wed Jun 11 10:29:32 UTC 2025


On Wed, 11 Jun 2025 05:51:56 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

>> jtreg runs tests with -ea, so either works fine.
>
> For me: not relying on `assert` is preferred, esp. in tests. I.e. what is here currently seems good to me.

But you would be okay with this assert, or just happy to shrug and leave it as read-write if it somehow wasn't a ZIP file system? Alternately we could do what I see done elsewhere and extract the ZIP file system provider and use it directly?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25639#discussion_r2139779444


More information about the compiler-dev mailing list