Summary: | AJDT throws a compiler error when trying to save a java file. | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Ngak Leng Sim <nlsim> |
Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 1.5.0 | ||
Target Milestone: | --- | ||
Hardware: | Macintosh | ||
OS: | Mac OS X - Carbon (unsup.) | ||
Whiteboard: |
Description
Ngak Leng Sim
2006-01-22 20:19:50 EST
Passing over to the compiler. Can you provide a testcase for this? bug 119882, bug 122096 and this bug are reporting the same error, although they could of course be caused by different things. I've managed to recreate a failure on this line (BcelWeaver.java:1095) and attached the testcase to bug 119882. The steps the test takes is: Stage 1: Compile the 4 files, pack.A2 extends pack.A1 (aspects) where A2 uses a protected field in A1 and pack.C2 extends pack.C1 (classes) where C2 uses a protected field in C1 Stage 2: make the field private in class C1 ==> compile errors in C2 Stage 3: make the field private in aspect A1 whilst there's the compile error <<-- this causes the BCException Does this sound similar to the steps you were taking when you saw this bug? If not, could you please describe in more detail what you were doing? Were there compile errors when you tried to save the file? Could provide a testcase? Marking this bug as a duplicate of bug 119882 because as mentioned before, they are reporting the same error. *** This bug has been marked as a duplicate of 119882 *** Changing OS from Mac OS to Mac OS X as per bug 185991 |