Bug 350941 - Exception in internal compiler when adding second type parameter
Summary: Exception in internal compiler when adding second type parameter
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: IDE (show other bugs)
Version: 1.6.11   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-01 10:16 EDT by Hans-Peter Störr CLA
Modified: 2013-06-24 11:05 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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