RFR: JDK-8220702: compiling in the context of an automatic module disallows --add-modules ALL-MODULE-PATH

Alex Buckley alex.buckley at oracle.com
Fri Apr 12 19:03:57 UTC 2019


On 4/12/2019 5:34 AM, Jan Lahoda wrote:
> I've started with the CSR here:
> https://bugs.openjdk.java.net/browse/JDK-8222396

Looks pretty good. I made some edits to record both of your 
single-module and multi-module invocations of javac.

The use case of injecting test code is clear, but the exact connection 
between automatic modules and test code is pretty opaque. Is the goal to 
make the automatic test module read the explicit test module so that the 
former module's code can access the latter module's code? Is the goal to 
make the automatic module read (and therefore test) at least the same 
set of modules as the explicit modules `requires`?

Alex


More information about the compiler-dev mailing list