[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[aspectj-users] can't compile anymore with generic in pointcut
|
Hi all,
I just upgraded AJDT from 1.6.0 to 1.6.4 and suddenly I get the following error:
[iajc] error at : syncFields(theData, changedMap, outputMap, runRules)
[iajc] ^^^^^^^
[iajc] E:\hudson\jobs\Main\WOPI\Data\plugins\com.myapp\src\com\myapp\aspects\DataAccess.aj:389:0::0 incompatible type, expected java.util.HashMap<java.lang.String,com.myapp.model.FieldModel<>> found BindingTypePattern(java.util.HashMap<java.lang.String,com.csc.ezbook.eztarif.model.FieldModel<*>>, 1). Check the type specified in your pointcut
[iajc] MessageHolder: (74 info) (1 error)
[iajc] [error 0]: error at : syncFields(theData, changedMap, outputMap, runRules)
[iajc] ^^^^^^^
[iajc] E:\hudson\jobs\Main\workspace\WOPI\Data\plugins\com.myapp\src\com\myapp\aspects\DataAccess.aj:389:0::0 incompatible type, expected java.util.HashMap<java.lang.String,com.csc.ezbook.eztarif.model.FieldModel<>> found BindingTypePattern(java.util.HashMap<java.lang.String,com.csc.ezbook.eztarif.model.FieldModel<*>>, 1). Check the type specified in your pointcut
I don't really get it: is it complaining about that new BindingTypePattern, is it complaining about the <> versus <*> (although in my code it's <?> everywhere), is it complaining about the thing it underlined (theData), is it an error coming from AJDT shipping as latest release a development release (as it looks), do I see one or two errors here, or what? I'm so confused :)
By the way, as the AJDT guys seemed to completely forgot to deliver some aspectjtools.jar I'm using the one from 1.6.0 - but I don't think it matters here.
Thanks for any input,
JM