Bug 32986 - Stack overflow, infinate recursion in compiler
Summary: Stack overflow, infinate recursion in compiler
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 RC2   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-25 10:46 EST by Nikolay Metchev CLA
Modified: 2003-03-10 05:49 EST (History)
0 users

See Also:


Attachments
Stack Trace (128.88 KB, text/plain)
2003-02-25 10:47 EST, Nikolay Metchev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Metchev CLA 2003-02-25 10:46:58 EST
if you are implementing an anonymous inner class and reference another inner 
class you get a stack overflow. I will attatch the stack trace.

something along the lines of

package org.test;

private class Test3
{
  void method()
  {
     Xtra = new Xtra()
   {
      public void method()
      {
         B.m_f[B //<--press Ctrl+Space here
      }
   }
   
  }
  private class B
  {
     static String[] m_f = new String[]{"a","b"};
  }
}

interface Xtra
{
   public void method();
}
Comment 1 Nikolay Metchev CLA 2003-02-25 10:47:23 EST
Created attachment 3692 [details]
Stack Trace
Comment 2 David Audel CLA 2003-02-25 12:48:29 EST
Fixed.
Comment 3 David Audel CLA 2003-03-10 05:49:04 EST
Verified.