Hi from te Groovy team again,
this is with gradle 3.0 and jdk9 jigsaw b136:
[12:00:28][Gradle failure report] Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected java.lang.Package[] java.lang.ClassLoader.getPackages() accessible: module java.base does not "exports private java.lang" to unnamed module @6ca18a14
[12:00:28][Gradle failure report] at java.base/jdk.internal.reflect.Reflection.throwInaccessibleObjectException(Reflection.java:414)
[12:00:28][Gradle failure report] at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:196)
[12:00:28][Gradle failure report] at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:192)
[12:00:28][Gradle failure report] at java.base/java.lang.reflect.Method.setAccessible(Method.java:186)
[12:00:28][Gradle failure report] at org.gradle.internal.reflect.JavaMethod.<init>(JavaMethod.java:34)
[12:00:28][Gradle failure report] at org.gradle.internal.reflect.JavaMethod.<init>(JavaMethod.java:38)
[12:00:28][Gradle failure report] at org.gradle.internal.reflect.JavaReflectionUtil.method(JavaReflectionUtil.java:224)
[12:00:28][Gradle failure report] at org.gradle.internal.classloader.FilteringClassLoader.<clinit>(FilteringClassLoader.java:49)[12:00:28][Gradle failure report] ... 46 more
I did not have this problem in b134, but the error message fits in the picture for me, so I assume they fixed a bug hereā¦ unless gradle is doing something with modules to get extended permissions already