On 08.04.2016 13:58, Dawid Weiss wrote:
[...]
I modified this locally and removed the proxy cache. On subsequent run
everything worked until I hit another problem, this time somewhere
inside Groovy (reflective scan of all fields, very likely).

java.lang.reflect.InaccessibleObjectException: Unable to make member
of class sun.net.spi.DefaultProxySelector accessible: module java.base
does not export sun.net.spi to unnamed module @124c278f
at 
sun.reflect.Reflection.throwInaccessibleObjectException(java.base@9-ea/Reflection.java:420)
at 
java.lang.reflect.AccessibleObject.checkCanSetAccessible(java.base@9-ea/AccessibleObject.java:174)
at 
java.lang.reflect.Constructor.checkCanSetAccessible(java.base@9-ea/Constructor.java:183)
at 
java.lang.reflect.Constructor.setAccessible(java.base@9-ea/Constructor.java:176)
at 
org.codehaus.groovy.reflection.CachedConstructor$1.run(CachedConstructor.java:41)
at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
at 
org.codehaus.groovy.reflection.CachedConstructor.<init>(CachedConstructor.java:39)
at org.codehaus.groovy.reflection.CachedClass$2.initValue(CachedClass.java:74)
at org.codehaus.groovy.reflection.CachedClass$2.initValue(CachedClass.java:64)
at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
at 
org.codehaus.groovy.reflection.CachedClass.getConstructors(CachedClass.java:258)
at groovy.lang.MetaClassImpl.<init>(MetaClassImpl.java:213)
at groovy.lang.MetaClassImpl.<init>(MetaClassImpl.java:223)
at 
groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createNormalMetaClass(MetaClassRegistry.java:168)
at 
groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createWithCustomLookup(MetaClassRegistry.java:158)
at 
groovy.lang.MetaClassRegistry$MetaClassCreationHandle.create(MetaClassRegistry.java:141)
...

This is going to be an uphill battle with so many dependencies in the stack...

please see https://issues.apache.org/jira/browse/GROOVY-7587 and use Groovy 2.4.6

bye Jochen

Reply via email to