This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 45243 - StackOverflowException from MDRParser
Summary: StackOverflowException from MDRParser
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-19 23:58 UTC by Martin Matula
Modified: 2007-04-03 18:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Matula 2004-06-19 23:58:11 UTC
If the code contains:

class A extends A {
}

MDRParser is not able to recover from it and
throws SOE - the file itself and any other file
that references it cannot be open in the editor.
Comment 1 Tomas Hurka 2004-06-21 12:05:38 UTC
Fixed in trunk.
Checking in MDRParser.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/MDRParser.java,v  <--  
MDRParser.java
new revision: 1.21; previous revision: 1.20
done
Checking in Scope.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/Scope.java,v  <--  
Scope.java
new revision: 1.6; previous revision: 1.5
done
Comment 2 Jiri Prox 2005-07-19 13:43:29 UTC
verified