Hmm, looks like a bug.  I just recreated it on AspectJ 1.5.3 and cannot now
recreate it in AspectJ1.6.2 - implying it is now fixed.

I would suspect it was a regression in the 1.6.0 timeframe as we made parts
of the system more generics aware (and that introduced a few bugs) - since
1.6.0 we have now fixed it again properly.

Bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=252021 is open to cover
the work required in AJDT 1.5 (the eclipse 3.3 version of AJDT) to allow new
versions of AspectJ to be embedded - that is what would be required to pick
up the fix.  Otherwise it is already fixed in AJDT 1.6 (the eclipse 3.4
version of AJDT).

Andy.

2008/11/10 Tobias Demuth <[EMAIL PROTECTED]>

> Hi,
>
> the following Pointcut produces an error that I cannot explain to myself
> ... I have just updated to AJDT 1.5.3.200807141310 - with AJDT
> 1.5.1.200801111942 there are no errors or warnings.
>
> My Code:
>
> pointcut executeQueryVarSetter(Map<String, ?> query) :
>        execution(public void
> de.tobiasdemuth.cube.xul.Mask.setQueryVars(Map<String, ?>))
>                && args(query);
>
> void around(Map<String, ?> query) : executeQueryVarSetter(query) {
>        setVar(QUERY_VAR_NAME, query);
> }
>
> Eclipse marks "query" in the Advice-definition red and gives the error
> "incompatible type, expected java.util.Map<String,> found
> BindingPattern(java.util.Map<java.lang.String,>, 0). Check the type
> specified in your pointcut."
>
> What does that mean?
>
> kind regards
> Tobias Demuth
> ____________________________________________________________________
> Psssst! Schon vom neuen WEB.DE MultiMessenger gehört?
> Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123
>
> _______________________________________________
> 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