accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Havanki (JIRA)" <>
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
             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|]).
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|] 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

View raw message