On Thu, 27 Mar 2025 23:52:00 GMT, Jason Zaugg <jza...@openjdk.org> wrote:

> Noting that I found `jarFsProvider` to be a useful extension point (albeit in 
> undocumented API) for injecting performance improvements into existing 
> `javac` versions (both the `zipinfo-time` change, and further changes to 
> defer the `close` of `ZipFileSystem` over JARs known to be immutable).

I'll note this is not the correct approach. This is not only an undocumented 
API. This is an implementation detail, subject to change at any time for any 
reason. javac supports running with a custom `JavaFileManager`, which can 
provide caching implementations for any queries, as desired.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24176#discussion_r2054089055

Reply via email to