SafeVarargs classfile encoding (original) (raw)

Rémi Forax forax at univ-mlv.fr
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 ?

Rémi



More information about the coin-dev mailing list