In that case do we need to make sure that the spec (the next version of it)
says the same by getting the errata[1] corrected?

[1]
http://www.osoa.org/display/Main/Errata+for+Java+Annotations+and+APIs+V1.00

++Vamsi

On Thu, Mar 27, 2008 at 11:11 PM, Jean-Sebastien Delfino <
[EMAIL PROTECTED]> wrote:

> Simon Nash wrote:
> > TUSCANY-2140 raises a more general question about whether we should
> > report errors for all SCA annotations that are used in illegal
> positions.
> > I suspect it would be impractical to do this in every possible case.
> > For error cases that we consider "common" or "harmful", adding a
> > diagnostic is worthwhile.  TUSCANY-2140 would fall into this category.
> >
> > I'd be interested in other views about this.
> >
> >   Simon
> >
>
> +1 to report a misplaced annotation as a warning.
>
> Throwing an exception that'll prevent my application to run just because
> a harmless annotation was present (and not considered) somewhere in part
> of my code seems too aggressive to me.
> --
> Jean-Sebastien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to