You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (JIRA)" <ji...@apache.org> on 2019/06/26 20:23:00 UTC
[jira] [Resolved] (ARTEMIS-2005) WARNING: Illegal reflective access
by com.sun.xml.bind.v2.runtime.reflect.opt.Injector on JDK 9
[ https://issues.apache.org/jira/browse/ARTEMIS-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram resolved ARTEMIS-2005.
-------------------------------------
Resolution: Not A Problem
I don't see this when running Artemis 2.10.0-SNAPSHOT on JDK 11.
> WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector on JDK 9
> -----------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-2005
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2005
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.6.0
> Reporter: Jiri Daněk
> Priority: Minor
>
> There is one last thing not fixed, that remains from ARTEMIS-1449
> {noformat}
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/home/jdanek/Downloads/AMQ7/apache-artemis-2.6.0/apache-artemis-2.6.0-20180501.181616-68-bin/lib/jaxb-impl-2.2.7.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
> {noformat}
> Probably the solution is something along the lines of ensure "that your module uses the {{javax.xml.bind:jaxb-api:2.3.0}} instead of {{com/sun/xml/bind/jaxb-impl/2.0/jaxb-impl-2.0.jar}}" from https://stackoverflow.com/questions/46474104/illegal-reflective-access-in-an-applet-with-jaxb-and-jdk-9
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)