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

Justin Bertram updated ARTEMIS-4824:
------------------------------------
    Component/s:     (was: ActiveMQ-Artemis-Native)

> code overload DM_BOXED_PRIMITIVE_FOR_PARSING
> --------------------------------------------
>
>                 Key: ARTEMIS-4824
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4824
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.25.0
>            Reporter: Andrey Slepykh
>            Assignee: Clebert Suconic
>            Priority: Major
>         Attachments: image-2024-06-19-18-06-30-222.png
>
>
> !image-2024-06-19-18-06-30-222.png!
> you are using the Integer.valueOf [in line 
> 89|https://github.com/apache/activemq-artemis/blob/fb1b362b473cad51ae5d05a897be02b1fa8461d4/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/routing/policies/LeastConnectionsPolicy.java#L89]
>  method which hashes the information, although ultimately the 
> connectionCountThreshold variable is only used for comparison using the "if" 
> on line 
> [53|https://github.com/apache/activemq-artemis/blob/fb1b362b473cad51ae5d05a897be02b1fa8461d4/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/routing/policies/LeastConnectionsPolicy.java#L53]
>  of the same file
> 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