[
https://issues.apache.org/jira/browse/ARTEMIS-5099?focusedWorklogId=986580&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-986580
]
ASF GitHub Bot logged work on ARTEMIS-5099:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 09/Oct/25 15:34
Start Date: 09/Oct/25 15:34
Worklog Time Spent: 10m
Work Description: clebertsuconic closed pull request #5448: ARTEMIS-5099
fix impossible cast in AMQPLargeMessage
URL: https://github.com/apache/activemq-artemis/pull/5448
Issue Time Tracking
-------------------
Worklog Id: (was: 986580)
Time Spent: 1h 10m (was: 1h)
> Probable impossible cast in AMQPLargeMessage
> --------------------------------------------
>
> Key: ARTEMIS-5099
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5099
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Andrey Slepykh
> Assignee: Justin Bertram
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.43.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> There is an impossible cast from {{LargeServerMessageImpl}} to
> {{AMQPLargeMessage}} in
> [https://github.com/apache/activemq-artemis/blob/4c6cded2e79cf10d2323de1b5fa7418b289ab034/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPLargeMessage.java#L638]
> I suppose there is a mistake in the check above
> ([here|https://github.com/apache/activemq-artemis/blob/4c6cded2e79cf10d2323de1b5fa7418b289ab034/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPLargeMessage.java#L637])
> and original should be instance of {{AMQPLargeMessage}}, but not
> {{LargeServerMessageImpl}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact