You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Matt Pavlovich (Jira)" <ji...@apache.org> on 2021/09/27 23:15:00 UTC

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

     [ https://issues.apache.org/jira/browse/AMQ-7139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Pavlovich closed AMQ-7139.
-------------------------------
    Fix Version/s: 5.17.0
       Resolution: Fixed

> 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
>            Assignee: Matt Pavlovich
>            Priority: Major
>              Labels: close-pending
>             Fix For: 5.17.0
>
>
> 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
(v8.3.4#803005)