RFR: 8286571: java source launcher from a minimal jdk image containing jdk.compiler fails with --enable-preview option [v3]

Adam Sotona asotona at openjdk.java.net
Mon May 23 07:33:37 UTC 2022


On Sun, 22 May 2022 17:04:30 GMT, Peter Levart <plevart at openjdk.org> wrote:

> > My humble opinion: if java.compiler needs jdk.zipfs for full functionality....
> 
> Sorry, I wrongly assumed it was `java.compiler` (the library module), but this is about `jdk.compiler` (the tool)... Nevertheless, the same question applies: Does `jdk.compiler` have any meaningful functionality even without `jdk.zipfs` ?

Basic compilation works even without presence of jdk.zipfs, however such stripped JDK is for example unable to read jar files on classpath.

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

PR: https://git.openjdk.java.net/jdk/pull/8747


More information about the compiler-dev mailing list