Bug 28064

Summary: Stack overflow in java editor
Product: [Eclipse Project] JDT Reporter: John Arthorne <john.arthorne>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
Log file showing stack trace
none
compilation unit that was being edited when the error occurred none

Description John Arthorne CLA 2002-12-10 17:59:33 EST
Build I20021210

I cannot reproduce this, but I hit an infinite loop in the ast resolving code. 
I will attach the log file, and the compilation unit that was being edited at
the time.  The CU had definite compilation errors, and it had an anonymous
subclass declaration in a field initializer that probably caused the error.
Comment 1 John Arthorne CLA 2002-12-10 18:00:04 EST
Created attachment 2745 [details]
Log file showing stack trace
Comment 2 John Arthorne CLA 2002-12-10 18:00:31 EST
Created attachment 2746 [details]
compilation unit that was being edited when the error occurred
Comment 3 Philipe Mulet CLA 2002-12-11 04:45:09 EST
Likely a duplicate of 27616
Comment 4 David Audel CLA 2002-12-12 05:54:18 EST
Simple test case :
public class X {
  #
  X x = new X(){}
}

Select 'X' in 'new X()' and do F3.
Comment 5 David Audel CLA 2002-12-12 06:26:09 EST
bug 27616 is not a duplicate.
Comment 6 David Audel CLA 2002-12-12 06:26:29 EST
Fixed.
Comment 7 David Audel CLA 2002-12-17 07:39:20 EST
Verified.