Why @SafeVarargs has RetentionPolicy of RUNTIME?

Joe Darcy joe.darcy at oracle.com
Tue Jul 26 11:48:15 PDT 2011

Paul Benedict wrote:
> I am curious why @SafeVarargs has its RetentionPolicy set at RUNTIME?
> I was expecting value CLASS because compilers need this information
> when building. So what use cases were being thought of to make it also
> visible at RUNTIME?


There is an extensive discussion on that point in the Project Coin document:



More information about the coin-dev mailing list