sebb wrote:
I've added JCIP annotations jar to the POM, but not started adding any
actual annotations yet.

The idea would be to annotate every class as one of

@Immutable
@ThreadSafe
@NotThreadSafe

These annotation appear in the Javadoc output in the class description.

Also, for objects that need synchronization to ensure thread safety,
add the annotation

@GuardedBy

Are there any objections to proceeding with this?

I think that there is the distinct possibility of other groups including these annotatons. Maybe even JDK7. Should [lang] include them. Or use slightly different names?

Stephen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to