Re: --add-opens on an automatic module ?

2016-12-15 Thread Kevin Rushforth
I can confirm that we see this same exception using jdk-9+146 with _JAVA_OPTIONS="-Dsun.reflect.debugModuleAccessChecks=true" It doesn't seem related to any recent changes then. -- Kevin Kevin Rushforth wrote: Ah, thanks, I missed your email suggesting the same thing. I can test this and rep

Re: --add-opens on an automatic module ?

2016-12-15 Thread Kevin Rushforth
Ah, thanks, I missed your email suggesting the same thing. I can test this and report back. -- Kevin Claes Redestad wrote: Yes. "is this something that is logged when you are using -Dsun.reflect.debugModuleAccessChecks=true? In that case this could be a pre-existing exception that is/was bein

Re: --add-opens on an automatic module ?

2016-12-15 Thread Claes Redestad
Yes. "is this something that is logged when you are using -Dsun.reflect.debugModuleAccessChecks=true? In that case this could be a pre-existing exception that is/was being swallowed." http://mail.openjdk.java.net/pipermail/jigsaw-dev/2016-December/010587.html /Claes On 2016-12-15 16:02, Kevin

Re: --add-opens on an automatic module ?

2016-12-15 Thread Kevin Rushforth
Is it possible that this exception, which seems harmless as far as I can tell, predates the latest jdk-9+148 jigsaw updates, and that the only reason we are seeing it now is because of the "-Dsun.reflect.debugModuleAccessChecks=true" ? -- Kevin David Hill wrote: Alan, I thought I would to

Re: --add-opens on an automatic module ?

2016-12-15 Thread David Hill
Alan, I thought I would toss you the options and the full exception just in case you see something really obvious. thanks, Dave public class GradleResolveVisitor extends ResolveVisitor { Running with jdk build 148, gradle 3.1 ddhill@ddhill-pad:~/sb/9/graphics/rt$ echo $_JAVA_OPTIONS -Ds

Re: --add-opens on an automatic module ?

2016-12-14 Thread Kevin Rushforth
Alan Bateman wrote: On 14/12/2016 17:21, David Hill wrote: I have yet another gradle exception: java.lang.IllegalAccessException: class org.gradle.groovy.scripts.internal.GradleResolveVisitor cannot access a member of class org.codehaus.groovy.control.ClassNodeResolver with modifiers "pr

Re: --add-opens on an automatic module ?

2016-12-14 Thread Alan Bateman
On 14/12/2016 17:21, David Hill wrote: I have yet another gradle exception: java.lang.IllegalAccessException: class org.gradle.groovy.scripts.internal.GradleResolveVisitor cannot access a member of class org.codehaus.groovy.control.ClassNodeResolver with modifiers "protected static final"

Re: --add-opens on an automatic module ?

2016-12-14 Thread Claes Redestad
Hi, is this something that is logged when you are using -Dsun.reflect.debugModuleAccessChecks=true? In that case this could be a pre-existing exception that is/was being swallowed. (I might be wrong, but my assumption it that automatic modules - if such are involved - are implicitly open) Tha

--add-opens on an automatic module ?

2016-12-14 Thread David Hill
I have yet another gradle exception: java.lang.IllegalAccessException: class org.gradle.groovy.scripts.internal.GradleResolveVisitor cannot access a member of class org.codehaus.groovy.control.ClassNodeResolver with modifiers "protected static final" Gradle is trying to use a jar it is packa