commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] Commented: (NET-222) Implement threadsafety annotations: @ThreadSafe, @Immutable etc
Date Tue, 01 Jul 2008 13:42:45 GMT


Sebb commented on NET-222:

I should also have said that it is a compile-time only dependency...

The jar is only needed in order to process the annotations; once compiled, the annotations
are made available in the resulting class files for products such as Findbugs to use. They
do not affect runtime code.

> Implement threadsafety annotations: @ThreadSafe, @Immutable etc
> ---------------------------------------------------------------
>                 Key: NET-222
>                 URL:
>             Project: Commons Net
>          Issue Type: Wish
>            Reporter: Sebb
>             Fix For: 2.1
> 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.
You can reply to this email to add a comment to the issue online.

View raw message