logo       

Re: Question on JCIP annotations: msg#00017

java.jsr.166-concurrency

Subject: Re: Question on JCIP annotations

Tim Peierls wrote:
> We were trying to keep the number of annotations to a minimum, otherwise
> this would have been called @Stateless.

Agreed - I realize it's a corner case and just wanted to ask for some
clarification (with an eye towards Findbugs). @ThreadSafe makes more sense
when @Immutable implies multiple objects.

thanks
Holger


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise