[concurrency-interest] jcip annotations

Tim Peierls tim at peierls.net
Thu Dec 20 09:29:59 EST 2007


On Dec 20, 2007 3:07 AM, Dhanji R. Prasanna <dhanji at gmail.com> wrote:

> I believe source-level retention would be the correct choice (at best,
> class-level).


At least class level, so tools like FindBugs can do their thing.



> I cannot see any value in them being retained at runtime and in fact a
> potential nuisance to reflection and debugging...


I'm curious, how is the presence of a runtime annotation a nuisance?



> I suppose it is trivial for me to recompile the annotations with a reduced
> retention but I am curious as to the motivation behind retaining them at
> runtime.
>

FindBugs does static analysis of bytecode, but other tools could do dynamic
analysis of running code.

--tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20071220/def483c4/attachment.html 


More information about the Concurrency-interest mailing list