Community
Participate
Working Groups
Hi, When I tried to compile my project using the new AspectJ-compiler, I stumbled upon some internal compiler exceptions. After further investigation I found that the compiler could not handle the way I used cflow and cflowbelow in the project. The compiler version 1.1.1 could manage this code. Strangely, compiling within eclipse (3.0 M8 with ajc 1.2rc1) seems to be OK ?? I succeeded in extracting a test-case for this problem (which compiles OK, but defines the changes in the code which break the compilation-program) I will upload this test-cases alongside this bug-report. If I would be using cflow and cflowbelow incorrectly or if a workaround for this problem exists, I would like to hear about it. best regards, Koen Casier
Created attachment 10056 [details] test-case this test-case contains one POJO, one aspect interacting with this POJO and the build-file used (which fails, showing the problems)
I think this might be the same issue as 60389. Something in the environment is causing problems (which is confirmed by the fact that AJDT 1.1.8 that contains 1.2rc1 works fine). As I can't get it to fail - can you attach the stack trace for the failure? Is it the same BCEL problem as in 60389?
The program attached compiles and runs OK with the latest AspectJ (I compiled it directly from the command line and used the ANT script provided). Since the bug was reported we have moved to the new Eclipse 3.0 Compiler and AJDT has moved onto version 1.1.11. So, I'm closing this bug - please reopen if you still have a problem compiling your code.
Fix released as part of AspectJ 1.2.1