SafeVarargs classfile encoding

Rémi Forax forax at
Fri Jan 21 08:34:22 PST 2011

I wonder if encoding @SafeVarargs as a runtime annotation
in the classfile is a good idea. A runtime visible annotation is fat.

In my opinion, @SafeVarargs should be an annotation with
retention SOURCE, translated by the compiler to an empty SafeVarargs 
method attribute.

Is there a use case where this annotation is needed at runtime ?


More information about the coin-dev mailing list