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 9657

Summary: Parser should ignore invalid source
Product: java Reporter: Jan Becicka <jbecicka>
Component: UnsupportedAssignee: issues@java <issues>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: StackTrace

Description Jan Becicka 2001-02-16 16:35:23 UTC
[dev-128]
Let's have this invalid class:
public class Foo {
  int field;
  int field;
}

In Explorer select "field" (there are two "field"s in Explorer as in source) 
and delete it. Exceptions are thrown. Source hierarchy shows only Error node.
Comment 1 Jan Becicka 2001-02-16 16:36:18 UTC
Created attachment 632 [details]
StackTrace
Comment 2 Svata Dedic 2001-02-16 19:15:40 UTC
I disagree. In fact, the explorer could easily display complete errorenous source, if there's enough support from Java Hierarchy APIs.
The bug was most probably fixed during today -- I discovered some bad things in model implementation.
Comment 3 Jan Becicka 2001-02-21 15:28:22 UTC
[010220_1] Verified
Comment 4 Quality Engineering 2003-07-01 13:17:58 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.