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

Christian Stein sormuras at gmail.com
Thu Apr 11 19:00:30 UTC 2019

On Thu, Apr 11, 2019 at 8:30 PM Alex Buckley <alex.buckley at oracle.com>

> [...] In advance
> of that, can you share some detailed invocations of javac using
> --patch-module in single-module and multi-module mode?

I'm not sure if this helps in any regards -- here [1] is a draft PR
that adds explicit module descriptors to all JUnit 5 modules.

This PR uses javac in multi-module mode and --patch-module
to access the already (with --release 8) compiled classes of
each module. The "src/modules/build.jsh
jshell script allows
an OS-agnostic execution of the javac command.

Hope that helps,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20190411/1732ce16/attachment.html>

More information about the compiler-dev mailing list