JDK11 Illegal reflective access by groovy.reflection.CachedClass

Description

Use this issue for all groovy illegal access. There is a lot of illegal access via the org.crsh components (console and shell).

402 WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass$3$1 (file:/Users/adelel-beik/.capsule/apps/net.corda.node.Corda_4.6-SNAPSHOT/groovy- all-1.8.9.jar) to method java.lang.Object.finalize()
403 at org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:86)
404 at java.base/java.security.AccessController.doPrivileged(Native Method)
405 at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:81)
406 at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:79)
407 at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
408 at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
409 at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:250)
410 at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:116)
411 at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:79)
412 at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
413 at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
414 at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:250)
415 at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:116)
416 at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:79)
417 at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
418 at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
419 at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:250)
420 at org.codehaus.groovy.reflection.stdclasses.CachedClosureClass.<init>(CachedClosureClass.java:29)
421 at org.codehaus.groovy.reflection.ClassInfo.createCachedClass(ClassInfo.java:259)
422 at org.codehaus.groovy.reflection.ClassInfo.access$400(ClassInfo.java:36)
423 at org.codehaus.groovy.reflection.ClassInfo$LazyCachedClassRef.initValue(ClassInfo.java:425)
424 at org.codehaus.groovy.reflection.ClassInfo$LazyCachedClassRef.initValue(ClassInfo.java:416)
425 at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
426 at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
427 at org.codehaus.groovy.reflection.ClassInfo.getCachedClass(ClassInfo.java:89)
428 at org.codehaus.groovy.reflection.ReflectionCache.getCachedClass(ReflectionCache.java:107)
429 at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.registerMethods(MetaClassRegistryImpl.java:161)
430 at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:83)
431 at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:61)
432 at groovy.lang.GroovySystem.<clinit>(GroovySystem.java:29)
433 at org.codehaus.groovy.runtime.InvokerHelper.<clinit>(InvokerHelper.java:49)
434 at groovy.lang.GroovyObjectSupport.<init>(GroovyObjectSupport.java:32)

Assignee

Adel El-Beik

Reporter

Adel El-Beik

Labels

None

Sprint

None

Epic Link

None

Priority

Medium

Engineering Teams

Kernel

Fix versions

Affects versions

None

Ported to...

None

Story Points / Dev Days

5

Build cut

None

Feature Team

Kernel Group
Configure