You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2011/01/31 20:36:29 UTC

[jira] Commented: (NET-222) Implement threadsafety annotations: @ThreadSafe, @Immutable etc

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

Sebb commented on NET-222:
--------------------------

Note: some versions of the javax.concurrent.annotations have Retention=Runtime which will cause problems.

> Implement threadsafety annotations: @ThreadSafe, @Immutable etc
> ---------------------------------------------------------------
>
>                 Key: NET-222
>                 URL: https://issues.apache.org/jira/browse/NET-222
>             Project: Commons Net
>          Issue Type: Wish
>            Reporter: Sebb
>            Priority: Trivial
>
> It would be very helpful for maintaing and checking code if the classes and fields were updated with the thread-safety annotations:
> @Immutable
> @Threadsafe
> @NotThreadsafe
> @GuardedBy
> These can be used by tools such as Findbugs to check that code conforms to the annotations

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira