Bug 52673 - [1.5] ArrayStoreException in 1.5 parser
Summary: [1.5] ArrayStoreException in 1.5 parser
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.1 M1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-20 13:03 EST by Philipe Mulet 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 Philipe Mulet CLA 2004-02-20 13:03:51 EST
When parsing the following in 1.5 mode, an array store exception occurs.

public abstract class X <
		T extends Y<T>, 
		U, 
		V extends /*Object &*/ Runnable & Cloneable & java.util.Map> 
	extends Exception 
	implements Runnable{
}

java.lang.ArrayStoreException
	at java.lang.System.arraycopy(Native Method)
	at 
org.eclipse.jdt.internal.compiler.parser.Parser.consumeTypeParameterWithExtendsA
ndBounds(Parser.java:6212)
	at org.eclipse.jdt.internal.compiler.parser.Parser.consumeRule
(Parser.java:5018)
	at org.eclipse.jdt.internal.compiler.parser.Parser.parse
(Parser.java:7651)
	at org.eclipse.jdt.internal.compiler.parser.Parser.parse
(Parser.java:7815)
	at org.eclipse.jdt.internal.compiler.parser.Parser.parse
(Parser.java:7780)
	at org.eclipse.jdt.internal.compiler.parser.Parser.dietParse
(Parser.java:6417)
	at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile
(Compiler.java:279)
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:314)
	at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation
(Main.java:1522)
	at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:319)
	at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:212)
	at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:204)
	at Compile.main(Compile.java:19)


class Y <Z> {
}
Comment 1 Olivier Thomann CLA 2004-02-20 15:06:15 EST
Fixed and released in HEAD.
Comment 2 Olivier Thomann CLA 2004-02-20 15:07:14 EST
Sorry. Fixed and released in stream 1.5.
Comment 3 Frederic Fusier CLA 2004-03-25 07:09:43 EST
Remove target milestone as fix is not in HEAD stream...