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

Jonathan Ellis updated CASSANDRA-614:
-------------------------------------

    Attachment: 614.patch

fixes attached

> Fix Findbugs: Static initializers
> ---------------------------------
>
>                 Key: CASSANDRA-614
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-614
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Stu Hood
>         Attachments: 614.patch, lazy-init.txt
>
>
> We have a few singleton classes that are not doing their lazy initialization 
> correctly (we really need a generic solution to this problem, sigh). In most 
> cases, we are missing 'volatile' on the static field. See attached.
> In order to find unused method parameters for CASSANDRA-608, I ran FindBugs 
> against Cassandra, and found a few interesting issues we ought to explore 
> (but not the unused method params, oi.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to