[ 
https://issues.apache.org/jira/browse/ARTEMIS-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16834453#comment-16834453
 ] 

Michal Toth commented on ARTEMIS-2005:
--------------------------------------

This is also hapenning on JDK 11. 
{noformat}
java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
{noformat}

> 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)

Reply via email to