RFR: JDK-8187681: Compiling for target 9 while also using --patch-module

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Oct 12 15:26:30 UTC 2017

Whoops - hit send too fast - wanted to ask a question; do you also plan 
to remove similar restriction for -source ? I've hit that a couple of 
times, and currently this restriction is preventing me from running 
langtools tests on a patched compiler; that is, I can patch the VM to 
run the tests and that works, but I can't pass same set of patches to 
the javac used by jtreg, as that will result in errors whenever a test 
has e.g. -source 8 flag set.


On 12/10/17 16:24, Maurizio Cimadamore wrote:
> Looks good
> Maurizio
> On 12/10/17 16:04, Jan Lahoda wrote:
>> Hello,
>> I'd like to ask for a review for:
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8187681
>> Webrev: http://cr.openjdk.java.net/~jlahoda/8187681/webrev.00/
>> The patch is basically to remove the limitation on use of 
>> --patch-module for a system module in combination with --release.
>> Thanks,
>>     Jan

More information about the compiler-dev mailing list