Bug 211960 - StackOverFlow in MethodOverrideTester.findOverriddenMethodInHierarchy()
Summary: StackOverFlow in MethodOverrideTester.findOverriddenMethodInHierarchy()
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-05 02:37 EST by Eric Jodet CLA
Modified: 2007-12-12 10:19 EST (History)
2 users (show)

See Also:


Attachments
[StackOverFlow details] as logged in the Error Log view (124.98 KB, text/file)
2007-12-05 02:37 EST, Eric Jodet CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Jodet CLA 2007-12-05 02:37:04 EST
Created attachment 84487 [details]
[StackOverFlow details] as logged in the Error Log view

eclipse.buildId=I20071127-0800

No exact steps to reproduce.
Happened in a runtime workbench I was debugging, as I was creating
a new test case with an inconsistent type hierarchy.
Had to quit the workbench after this issue.

Attaching the StackOverFlow details.
Comment 1 Jerome Lanneluc CLA 2007-12-05 02:46:35 EST
Recursion is in MethodOverrideTester.findOverriddenMethodInHierarchy(). Changing title accordingly.
Moving to JDT/UI for investigation.
Comment 2 Eric Jodet CLA 2007-12-05 02:50:15 EST
(In reply to comment #1)
sorry for the wrong choices (method, component) - thanks jerome
Comment 3 Martin Aeschlimann CLA 2007-12-05 04:19:59 EST
The method override tester recursively walks up the type hierarchy.

ITypeHierarchy.getSuperclass(..)
ITypeHierarchy.getSuperInterfaces(..)

It seems that that the hierarchy contains a loop. Maybe a friend of bug 186410?

Back to JDT/Core
Comment 4 Jerome Lanneluc CLA 2007-12-05 08:44:48 EST
I cannot reproduce and looking at the code I don't see anything obvious.
Comment 5 Eric Jodet CLA 2007-12-05 09:10:30 EST
(In reply to comment #4)
I can not reproduce it either
Comment 6 Jerome Lanneluc CLA 2007-12-05 09:38:15 EST
Please reopen if you can reproduce.
Comment 7 Eric Jodet CLA 2007-12-12 10:19:31 EST
Verified for 3.4 M4 using build I20071211-0010