You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Pallavi Rao (JIRA)" <ji...@apache.org> on 2015/02/18 08:17:12 UTC
[jira] [Updated] (FALCON-1003) Update checkstyle to remove
DoubleCheckedLocking
[ https://issues.apache.org/jira/browse/FALCON-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pallavi Rao updated FALCON-1003:
--------------------------------
Attachment: FALCON-1003-v4.patch
You didn't miss anything. I did. I forgot to merge my new patch with an older commit for the same bug. Have updated the cumulative patch.
I applied the patch and built and it went through fine.
> Update checkstyle to remove DoubleCheckedLocking
> ------------------------------------------------
>
> Key: FALCON-1003
> URL: https://issues.apache.org/jira/browse/FALCON-1003
> Project: Falcon
> Issue Type: Improvement
> Affects Versions: trunk
> Reporter: Pallavi Rao
> Assignee: Pallavi Rao
> Priority: Trivial
> Attachments: FALCON-1003-v2.patch, FALCON-1003-v3.patch, FALCON-1003-v4.patch, FALCON-1003.patch
>
>
> As per, http://checkstyle.sourceforge.net/releasenotes.html, Release 5.6 onwards - "Removed the DoubleCheckedLocking check, as in Java 5 (and beyond), using the volatile keyword addresses the issue. See here for more details."
> Primary reason for removing this is, I couldn't load the existing checkstyle file in my IntelliJ checkstyle plugin because DoubleCheckedLocking check was enabled.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)