You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Abhi (JIRA)" <ji...@apache.org> on 2019/01/21 09:56:00 UTC

[jira] [Created] (AMQ-7139) Illegal reflective access by com.thoughtworks.xstream.core.util.Fields

Abhi created AMQ-7139:
-------------------------

             Summary: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields
                 Key: AMQ-7139
                 URL: https://issues.apache.org/jira/browse/AMQ-7139
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.14.4
            Reporter: Abhi


Hi,

After starting ActiveMQ broker with Java 11, I am seeing below illegal reflective access warnings from xstream. These will become errors in a future release and hence needs to be addressed. There is a github issue logged with xstream regarding this ([https://github.com/x-stream/xstream/issues/101)] but there doesn't seem to be a consensus on how this will be fixed.  Is there a workaround that we can put in ActiveMQ to avoid these warnings? I am not sure what is the right way to fix this for ActiveMQ -  move away from xstream as a long term fix?

+*Logs:*+

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/prod/tools/infra/apache/activemq/apache-activemq-5.14.4/lib/optional/xstream-1.4.9.jar) to field java.lang.reflect.Proxy.h

WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields

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

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)