Summary: | Compiler crashes with a ClassCastException when weaving generic classes parameterized with an array type | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Logan Bowers <logan> | ||||||
Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> | ||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P2 | CC: | aclement, alex.villazon, jcaplan | ||||||
Version: | 1.5.3RC1 | ||||||||
Target Milestone: | 1.6.0 RC1 | ||||||||
Hardware: | PC | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Logan Bowers
2006-12-07 20:55:47 EST
Created attachment 55292 [details]
Java file that breaks the compiler
Created attachment 55293 [details]
Aspect that breaks the class
testcase added, commented out in Ajc154Tests. The problem here is due to the special type ResolvedType$Array which is used to represent array types. It is not a descendant of ReferenceType and so we get into problems. I have fixed this - I made the Array type a subtype of ReferenceType rather than ResolvedType. will be in dev builds shortly. |