Bug 83310 - compiler error when accessing fiels whose name is 'after' or 'before'
Summary: compiler error when accessing fiels whose name is 'after' or 'before'
Status: RESOLVED DUPLICATE of bug 74562
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.2.1   Edit
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: 1.5.0 M3   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-20 10:47 EST by mariano CLA
Modified: 2005-08-19 08:46 EDT (History)
0 users

See Also:


Attachments
class A (103 bytes, text/x-java)
2005-01-20 10:48 EST, mariano CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mariano CLA 2005-01-20 10:47:34 EST
Compiler raises a syntax error when trying to compile a class A such that:
- class A contains two fields of type A itself
- The names of these fields are 'before' and 'after'
- class A contains a method that reads/writes the field of the field of A

On the same example java 1.4 compiler works correctly
Comment 1 mariano CLA 2005-01-20 10:48:16 EST
Created attachment 17336 [details]
class A
Comment 2 Adrian Colyer CLA 2005-03-23 09:15:43 EST
there's a very-near duplicate of this bug somewhere else in the list. Will fix
this in aj5m3 when we have the parser open for surgery...
Comment 3 Adrian Colyer CLA 2005-08-19 08:46:19 EDT
This is now fixed in the tree.

*** This bug has been marked as a duplicate of 74562 ***