Re: maven-compiler-plugin + default-value for illegal-access

2017-06-11 Thread Robert Scholte
Interesting, based on the output of "java -X" and "javac -X" you're right. Kind of a surprise to me, but in that case this is not an issue for the maven-compiler-plugin Robert On Sat, 10 Jun 2017 23:54:32 +0200, Guillaume Boué wrote: Wouldn't illegal-access be a run-time 'java' flag only

Re: maven-compiler-plugin + default-value for illegal-access

2017-06-10 Thread Guillaume Boué
Wouldn't illegal-access be a run-time 'java' flag only, and not a compile-time 'javac' one? Le 10/06/2017 à 19:46, Robert Scholte a écrit : Hi all, below is the proposal for the flag "illegal-access" in Java 9. TLDR; it controls if the compiler should break the build when making illegal usage

maven-compiler-plugin + default-value for illegal-access (was: Proposal (revised): Allow illegal access to internal APIs by default in JDK 9)

2017-06-10 Thread Robert Scholte
Hi all, below is the proposal for the flag "illegal-access" in Java 9. TLDR; it controls if the compiler should break the build when making illegal usage of internal APIs. With Java 9 its default value will be 'permit' (not as strict as the original proposal), but its default value WILL cha