[
https://issues.apache.org/jira/browse/ARTEMIS-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17450601#comment-17450601
]
ASF subversion and git services commented on ARTEMIS-3586:
----------------------------------------------------------
Commit f2ab5f7feddb0df324b574d94a463da4bc314d9d in activemq-artemis's branch
refs/heads/main from Tiago Bueno
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=f2ab5f7 ]
ARTEMIS-3586 - fix ActiveMQActivationSpec equals field verification switch
The equals method on ActiveMQActivationSpec has a switched
null pointer verification for singleConnection and useJNDI fields.
Since both fields are initialized with a value by default it should
not be a problem but if one of these fields are set as null at some
point and then equals is called it throws a NPE.
> ActiveMQActivationSpec equals method has switched singleConnection and
> useJNDI null pointer verification
> --------------------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-3586
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3586
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.19.0
> Reporter: Tiago Bueno
> Priority: Minor
> Fix For: 2.20.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The equals method on ActiveMQActivationSpec has a switched null pointer
> verification for singleConnection and useJNDI fields.
> Since both fields are initialized with a value by default it should not be a
> problem but if one of these fields are set as null at some point and then
> equals is called it throws a NPE.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)