Bug 350941

Summary: Exception in internal compiler when adding second type parameter
Product: [Tools] AspectJ Reporter: Hans-Peter Störr <yu4cheem>
Component: IDEAssignee: aspectj inbox <aspectj-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: aclement
Version: 1.6.11   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Hans-Peter Störr CLA 2011-07-01 10:16:08 EDT
When adding the second type parameter LREP to a class with signature

public abstract class AbstractLegal<IREP extends IndividualRepresentative, LREP extends AbstractLegalRepresentative<IREP, LREP>>
        extends AbstractPerson<LegalIdentificationData>

I get an exception in the IDE that the internal AspectJ compiler throws the following exception:

java.lang.ArrayIndexOutOfBoundsException
at org.aspectj.weaver.ResolvedType.getMemberParameterizationMap(ResolvedType.java:940)
at org.aspectj.weaver.ReferenceType.getSuperclass(ReferenceType.java:911)
at org.aspectj.weaver.ResolvedType.getDirectSupertypes(ResolvedType.java:77)
at org.aspectj.weaver.ResolvedType.collectInterTypeMungers(ResolvedType.java:1390)
at org.aspectj.weaver.ResolvedType.collectInterTypeMungers(ResolvedType.java:1 ... ob.run(AutoBuildJob.java:242)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

The exact version of the Eclipse AspectJ Development Tools is shown as:

Version: 2.1.3.e36x-20110315-1000
AspectJ version: 1.6.11.20110304135300

Thanks so much!
Comment 1 Andrew Clement CLA 2013-06-24 11:05:21 EDT
unsetting the target field which is currently set for something already released