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 - Parser should ignore invalid source
Summary: Parser should ignore invalid source
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-16 16:35 UTC by Jan Becicka
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
StackTrace (3.82 KB, text/plain)
2001-02-16 16:36 UTC, Jan Becicka
Details

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