[ 
https://issues.apache.org/jira/browse/AMQ-7402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17035980#comment-17035980
 ] 

ASF subversion and git services commented on AMQ-7402:
------------------------------------------------------

Commit 0a0b524c9d1afdc3f14445409613a7474760cfb1 in activemq's branch 
refs/heads/activemq-5.15.x from Pascal Schumacher
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=0a0b524 ]

AMQ-7402: Inconsistent synchronization of getters/setters of some classes

Make synchronization consistent or remove it and declare the field volatile.

(cherry picked from commit 5356893fac70d9f67a407d836f8cc8260961b792)


> Inconsistent synchronization of getter/setter of some classes
> -------------------------------------------------------------
>
>                 Key: AMQ-7402
>                 URL: https://issues.apache.org/jira/browse/AMQ-7402
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker, JMS client, KahaDB
>    Affects Versions: 5.15.11
>            Reporter: Pascal Schumacher
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 5.16.0, 5.15.12
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> There are some classes where the get method is synchronzied by the set method 
> is not (or the other way around).
> Therefore calls may return a inconsistent state for the object.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to