[
https://issues.apache.org/jira/browse/AMQ-7139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Pavlovich updated AMQ-7139:
--------------------------------
Labels: close-pending (was: )
> 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
> Priority: Major
> Labels: close-pending
>
> 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)