Bug 13810

Summary: ClassCastException in indexer
Product: [Eclipse Project] JDT Reporter: DJ Houghton <dj.houghton>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Errors on the console none

Description DJ Houghton CLA 2002-04-15 13:14:07 EDT
build 2002-04-12 on WinXP.

I tried to load a project from the repository and I got the attached errors on 
my console and Eclipse crashed. (no prompt or warning)

I can provide the repository and project information if needed.
Comment 1 DJ Houghton CLA 2002-04-15 13:14:29 EDT
Created attachment 606 [details]
Errors on the console
Comment 2 Philipe Mulet CLA 2002-04-17 09:29:17 EDT
I got similar ClassCastException when running on IBM jdk1.3.1 (was in 
addSuperTypeReference instead of addMethodReference).

When debugging the same test case (jit is off) the problem would go away.

Highly suspecting an IBM 1.3.1 jit bug.
Comment 3 Philipe Mulet CLA 2002-04-25 05:07:00 EDT
DJ - can you remember if you were running against IBM JDK 1.3.1 at that time ?
Comment 4 DJ Houghton CLA 2002-04-25 07:52:49 EDT
For sure I was running against IBM JRE 1.3.1.

I didn't switch back to 1.3.0 until after I submitted Bug 13964 and you 
mentioned there might be a problem.

Sorry, I'll try and include JRE version with my reports from now on.
Comment 5 Philipe Mulet CLA 2002-04-26 06:22:55 EDT
Closing as a jit bug, we have added some crash recovery so as to restart the 
indexing thread in case of problem.