dev@glassfish.java.net

incorrect _at_Generated signature

From: Wonseok Kim <guruwons_at_tmax.co.kr>
Date: Thu, 11 May 2006 20:03:11 +0900

During I'm running CTS signature test, I found JSR250 @Generated
annotation has different signature.

Spec says it has comment() method.

package javax.annotation;
import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.*;
@Target({ANNOTATION_TYPE, CONSTRUCTOR, FIELD, LOCAL_VARIABLE, METHOD,
PACKAGE, PARAMETER, TYPE})
@Retention(SOURCE)
public @interface Generated {
String[] value();
String date() default ¡°¡°;
*comment() default ¡°¡°;*
}

But implemented api has comments() method instead of above.
GlassFish and Mustang has same problem.

And the CTS signature test also compare it with invalid comments() method.

Cheers,

-- 
Wonseok Kim
Senior Researcher/Developer
WAS Department
Tmax Soft R&D Center