Bug 257384

Summary: AIOOBE during problem reporting
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Michael_Rennie
Version: 3.5   
Target Milestone: 3.5 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed patch with testcase none

Description Olivier Thomann CLA 2008-12-03 10:24:32 EST
Using I20081202-1812,

ava.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
	at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.staticInheritedMethodConflicts(ProblemReporter.java:6201)
	at org.eclipse.jdt.internal.compiler.lookup.MethodVerifier.checkConcreteInheritedMethod(MethodVerifier.java:192)
	at org.eclipse.jdt.internal.compiler.lookup.MethodVerifier.checkInheritedMethods(MethodVerifier.java:368)
	at org.eclipse.jdt.internal.compiler.lookup.MethodVerifier.checkMethods(MethodVerifier.java:458)
	at org.eclipse.jdt.internal.compiler.lookup.MethodVerifier.verify(MethodVerifier.java:879)
	at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.verifyMethods(SourceTypeBinding.java:1615)
	at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.verifyMethods(CompilationUnitScope.java:814)
	at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:735)
	at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
	at java.lang.Thread.run(Thread.java:735)

Steps to reproduce :

1. start new workspace
2. get jdt.core, jdt.core.tests.builder, jdt.core.tests.compiler and test.performance from HEAD
3. disable target workspace from the import wizard, and import all required binary bundles for jdt.core
4. have autobuild on
Comment 1 Kent Johnson CLA 2008-12-03 14:49:19 EST
Created attachment 119419 [details]
Proposed patch with testcase
Comment 2 Kent Johnson CLA 2008-12-04 12:07:21 EST
Fix and test released for 3.5M4
Comment 3 Olivier Thomann CLA 2008-12-09 12:12:18 EST
Verified for 3.5M4 using I20081208-1800