Bug 65953 - [1.5] Internal Compiler Error: ArrayIndexOutOfBoundsException
Summary: [1.5] Internal Compiler Error: ArrayIndexOutOfBoundsException
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 3.1 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-07 08:19 EDT by Alan Wood CLA
Modified: 2005-01-11 11:02 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Wood CLA 2004-06-07 08:19:57 EDT
//Cheetah 05

=======
package p;
public interface Top<T> {}
=======
package p;
public class Super<T> implements Top<T>{ }

====

On *every other* edit and save get:

java.lang.ArrayIndexOutOfBoundsException: 22
	at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeFromTypeSignature(LookupEnvironment.java:665)
	at ...
    ... at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:204)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
	Super.java	Cheetah Trial/uk/ac/york/cs/wood/cheetahtrial/basics	line 0	07 June
2004 12:54:34
Comment 1 Philipe Mulet CLA 2004-06-25 10:55:37 EDT
Reproduced in latest.
Comment 2 Philipe Mulet CLA 2004-06-25 12:07:31 EDT
Compiler was misgenerating signatures for generic interfaces. Therefore, it 
was failing to read it back in on incremental compilation scenario.

Comment 3 Philipe Mulet CLA 2004-06-25 12:07:54 EDT
Fixed. Added regression test: GenericTypeTest#test211
Comment 4 Philipe Mulet CLA 2004-06-25 12:13:49 EDT
Also added: GenericTypeSignatureTests#test015