Community
Participate
Working Groups
Created attachment 234957 [details] Project to reproduce the problem The attached project makes ajc crash and generate an ajcore file: /.../serializable-and-generics/src/main/java/MyClass.java:0::0 Internal compiler error: java.lang.IllegalStateException: Can't ask to parameterize a member of non-generic type: MyClass kind(raw) at org.aspectj.weaver.ResolvedMemberImpl.parameterizedWith(ResolvedMemberImpl.java:759) MyClass is just a class with a type parameter that also implements Serializable. If you comment out "implements Serializable", the problem goes away. Run "mvn clean package" to reproduce the problem, or call ajc yourself if you prefer, since it's a simple project with one class and one aspect.
The problem seems to be fixed by 1.8.0.RC1, if I correctly called ajc manually. I do end up with .class files, so I guess it's OK.