dev@glassfish.java.net

Re: incorrect _at_Generated signature

From: Wonseok Kim <guruwons_at_gmail.com>
Date: Fri, 12 May 2006 09:28:19 +0900

Good news, we don't need to change GlassFish before its release. :-)
Then from early draft to the recent posted, spec document have had typo
'comment()'.

Cheers,
Wonseok Kim

On 5/12/06, Rajiv Mordani <Rajiv.Mordani_at_sun.com> wrote:
>
> Hi Wonseok,
> This is a typo in the spec. What the CTS and the API have are correct.
> We are working to update
> the typo in the spec.
>
> Thanks
>
> - Rajiv
>
> Wonseok Kim wrote:
> > 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
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>