Andrey Slepykh created ARTEMIS-4827:
---------------------------------------

             Summary: UNREACHABLE_CODE
                 Key: ARTEMIS-4827
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4827
             Project: ActiveMQ Artemis
          Issue Type: Bug
    Affects Versions: 2.25.0
            Reporter: Andrey Slepykh
         Attachments: image-2024-06-19-18-54-22-120.png, 
image-2024-06-19-18-57-04-090.png

1. !image-2024-06-19-18-54-22-120.png!

 

line 
[327|https://github.com/apache/activemq-artemis/blob/fb1b362b473cad51ae5d05a897be02b1fa8461d4/artemis-service-extensions/src/main/java/org/apache/activemq/artemis/service/extensions/xa/recovery/ActiveMQXAResourceWrapper.java#L327]
 unreachable

 

2. !image-2024-06-19-18-57-04-090.png!

similarly in this block of code, [line 
51|https://github.com/apache/activemq-artemis/blob/fb1b362b473cad51ae5d05a897be02b1fa8461d4/artemis-web/src/main/java/org/apache/activemq/artemis/component/AuthenticationFilter.java#L51]
 contains a condition that will always be satisfied

 

Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE.

Author: Firsov Vladimir, BMSTU (fvv22u...@student.bmstu.ru)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@activemq.apache.org
For additional commands, e-mail: issues-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to