Bug 60253 - Error on cfllowbelow and cflow in Aspectj-compiler 1.2rc1
Summary: Error on cfllowbelow and cflow in Aspectj-compiler 1.2rc1
Status: RESOLVED WORKSFORME
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.2   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 1.2.1   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-28 10:53 EDT by Casier Koen CLA
Modified: 2004-10-21 04:32 EDT (History)
0 users

See Also:


Attachments
test-case (1.47 KB, application/x-zip-compressed)
2004-04-28 11:06 EDT, Casier Koen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Casier Koen CLA 2004-04-28 10:53:36 EDT
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
Comment 1 Casier Koen CLA 2004-04-28 11:06:16 EDT
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)
Comment 2 Andrew Clement CLA 2004-05-06 05:25:29 EDT
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?
Comment 3 Andrew Clement CLA 2004-08-06 11:01:16 EDT
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.
Comment 4 Adrian Colyer CLA 2004-10-21 04:32:39 EDT
Fix released as part of AspectJ 1.2.1