My initial reaction is that it is a bug.  You didn't say what error
you were getting?
Raise a bugzilla for it.  We still don't have adequate test coverage
for generic aspects.

cheers
Andy

On 16 July 2010 16:56, Rizal Anwar <[email protected]> wrote:
> Hi,
>
> I'm using AspectJ 1.6.9 and got compilation error when I did the following:
>
> public abstract aspect TestAsp<Ann extends Annotation, X> {
>
> declare @field: * X.* : @(Ann);
> }
>
>
> The following works fine though:
>
>
> public abstract aspect TestAsp<Ann extends Annotation, X> {
> declare @field: @(Ann) * X.* : @Picked;
> pointcut x() : execution( @(Ann) * *.*(..));
> }
>
>
>
> Is it a bug, or I miss something in the declare @field ?
>
> Best regards,
> Anwar.
>
>
>
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to