Bug 28064 - Stack overflow in java editor
Summary: Stack overflow in java editor
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 critical (vote)
Target Milestone: 2.1 M4   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-10 17:59 EST by John Arthorne CLA
Modified: 2002-12-17 07:39 EST (History)
0 users

See Also:


Attachments
Log file showing stack trace (390.24 KB, text/plain)
2002-12-10 18:00 EST, John Arthorne CLA
no flags Details
compilation unit that was being edited when the error occurred (3.05 KB, text/plain)
2002-12-10 18:00 EST, John Arthorne CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.