danielsun1106 commented on issue #920: [WIP]GROOVY-9081: CLONE - Fix warning "An illegal reflective access operat… URL: https://github.com/apache/groovy/pull/920#issuecomment-489156006 After `debug` mode enabled, more warnings appear. Luckily, they can be classified into existing cases: _( https://api.travis-ci.org/v3/job/527830078/log.txt )_ ``` Line 1229: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.ReflectionUtils (file:/home/travis/build/danielsun1106/groovy/target/classes/java/main/) to method java.lang.Object.clone() Line 1262: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.ReflectionUtils (file:/home/travis/build/danielsun1106/groovy/target/classes/java/main/) to method java.lang.ClassLoader.loadClass(java.lang.String,boolean) Line 1301: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.SecurityTest (file:/home/travis/build/danielsun1106/groovy/target/classes/groovy/test/) to method java.lang.ClassLoader.defineClass(java.lang.String,java.nio.ByteBuffer,java.security.ProtectionDomain) Line 1334: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.ReflectionUtils (file:/home/travis/build/danielsun1106/groovy/target/classes/java/main/) to method java.lang.ClassLoader.defineClass(java.lang.String,java.nio.ByteBuffer,java.security.ProtectionDomain) Line 1388: WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v9.Java9 (file:/home/travis/build/danielsun1106/groovy/target/classes/java/main/) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int) Line 1435: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.ReflectionUtils (file:/home/travis/build/danielsun1106/groovy/target/classes/java/main/) to method java.lang.String.isLatin1() Line 1495: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.ReflectionUtils (file:/home/travis/build/danielsun1106/groovy/target/libs/groovy-raw-3.0.0-SNAPSHOT.jar) to method java.io.File.isInvalid() Line 1528: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.ReflectionUtils (file:/home/travis/build/danielsun1106/groovy/target/libs/groovy-raw-3.0.0-SNAPSHOT.jar) to method java.io.File.getPrefixLength() Line 1568: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedMethod (file:/home/travis/build/danielsun1106/groovy/target/classes/java/main/) to field java.lang.reflect.Field.modifiers Line 1601: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedMethod (file:/home/travis/build/danielsun1106/groovy/target/classes/java/main/) to field java.lang.reflect.Field.modifiers Line 1634: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedMethod (file:/home/travis/build/danielsun1106/groovy/target/classes/java/main/) to field java.lang.reflect.Field.modifiers Line 1667: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedMethod (file:/home/travis/build/danielsun1106/groovy/target/classes/java/main/) to field java.lang.reflect.Field.modifiers Line 1754: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.ReflectionUtils (file:/home/travis/build/danielsun1106/groovy/target/classes/java/main/) to method java.math.BigInteger.multiply(long) Line 1832: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedMethod (file:/home/travis/build/danielsun1106/groovy/target/classes/java/main/) to field java.lang.reflect.Field.modifiers Line 1865: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.ReflectionUtils (file:/home/travis/build/danielsun1106/groovy/target/classes/java/main/) to field java.util.Observable.changed ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
