[ https://issues.apache.org/jira/browse/RANGER-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17300267#comment-17300267 ]
Dhaval Shah commented on RANGER-3199: ------------------------------------- Apache Master Commit: https://github.com/apache/ranger/commit/6e4f6e2725e60180bf92526b32988e39c2a3e5de > illegal reflective access operation warning in KMS catalina.out logs > -------------------------------------------------------------------- > > Key: RANGER-3199 > URL: https://issues.apache.org/jira/browse/RANGER-3199 > Project: Ranger > Issue Type: Bug > Components: Ranger > Affects Versions: 3.0.0 > Reporter: Mahesh Hanumant Bandal > Assignee: Mahesh Hanumant Bandal > Priority: Minor > > following logs are observed in catalina.out file of ranger-kms while using > JDK-11: > {code:java} > INFO: Initiating Jersey application, version 'Jersey: 1.19.3 10/24/2016 03:43 > PM' > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by > com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 jaxb-impl-2.2.3-1.jar) to > method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) > WARNING: Please consider reporting this to the maintainers of > com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 > WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > WARNING: All illegal access operations will be denied in a future release > {code} > Need to fix this warning logs. > *This fix should be provided from the maintainers of "com.sun.xml.bind" i.e. > Oracle Corporation. Affected jar is "jaxb-impl-2.2.3-1.jar". This jar is > inherited from "jersey-json-1.19.3.jar".* > > Workaround for this issue : > * +To avoid this warning logs we can add dependency for jaxb-impl-2.3.3.jar+ -- This message was sent by Atlassian Jira (v8.3.4#803005)