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:13:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17421082#comment-17421082 ]
Matt Pavlovich commented on AMQ-7139:
-------------------------------------
This has been addressed with 5.17.x (main) here:
https://github.com/apache/activemq/pull/703
> 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
>
> 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)