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)

Thanks!

/Claes

On 2016-12-14 18: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"

Gradle is trying to use a jar it is packaged with likely
(groovy-all-2.4.7.jar)

A quick search online did not show me how to specify a (presumably)
automatic module in the

   --add-opens=module/package=consumer

argument.

Reply via email to