accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Havanki (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-1863) Make JCIP annotations available
Date Thu, 07 Nov 2013 19:53:18 GMT
Bill Havanki created ACCUMULO-1863:
--------------------------------------

             Summary: Make JCIP annotations available
                 Key: ACCUMULO-1863
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1863
             Project: Accumulo
          Issue Type: Improvement
            Reporter: Bill Havanki
            Priority: Trivial


During review of ACCUMULO-1556, it occurred to me that it could be beneficial to integrate
the JCIP annotations (["old" JCIP site|http://jcip.net.s3-website-us-east-1.amazonaws.com/]).
The annotations point out where code is thread-safe and not thread-safe, immutable objects,
and items where access is guarded by a lock (object). By themselves the annotations do nothing,
but static analysis tools like [FindBugs|http://findbugs.sourceforge.net] can use them to
look for threading problems more easily and widely.

A downside is that the annotations include a compile-time Maven dependency (which could be
worked around with optional scoping, for example).

This ticket would only be for adding the JCIP dependency so that the annotations are available
for future work, and specifically not applying them to existing code right now.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message