commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [LANG] 3.0 JCIP Annotations
Date Wed, 18 Mar 2009 23:00:23 GMT
On 18/03/2009, Stephen Colebourne <scolebourne@btopenworld.com> wrote:
> 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?

Not sure I follow.

These are existing annotations, from http://jcip.net/:

http://jcip.net/annotations/doc/index.html

[Sorry, I forgot to reference my original posting to the LANG thread:

http://www.nabble.com/Re%3A--lang--3.0%2C-what%27s-in--what%27s-out-p22511906.html

]

The Findbugs project ships with a copy, but the original copy is
Creative Commons rather than LGPL.

>  Stephen
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

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


Mime
View raw message