Community
Participate
Working Groups
Created attachment 241883 [details] aspecj output When trying 1.8.0.M1 with maven, i get the attached output, basically a stackoverflow that prevents compilation. I bet the problem is related to this message: java.lang.RuntimeException: PR341926 diagnostics: Incorrect setup for a generic type, raw type should not point to raw: be.meteo.front.model.AbstractControlPoint Which point to a class defined as public abstract class AbstractControlPoint<CP extends AbstractControlPoint<CP, N>, N extends AbstractCurve<CP, N>> This class did not pose problem compiling with java 7 and previous aspectj versions. It's only a problem with aspectj 1.8.0M1 running under JDK 8 So for now my project is stuck to java 7 and can't use lambdas or stream apis.
Created attachment 241884 [details] aspectj core output Added aspectj core output to help debug.
Created attachment 241885 [details] The java class that does not compile
Can you try 1.8.0.RC1 or 1.8.0.RC2? I was trying to recreate the problem with the code you attached but it may depend on the generic structure of all those types referenced from this snippet. I tried stubbing them out but now I'm at a point where it just compiles. It may not be fixed in RC2 though, if it is not is there any way to share more of the failing system with me so I could reproduce it?
Hello, I tried aspectjtools / aspectjrt / aspectjweaver available at http://maven.springframework.org/milestone in version 1.8.0.RC2 and it compiles without troubles or even warning messages. So this solves my issue :)
Thanks for letting me know :)