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 1514 - Misparses due to the wrong package name should be specially displayed.
Summary: Misparses due to the wrong package name should be specially displayed.
Status: CLOSED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-04-13 21:38 UTC by Jesse Glick
Modified: 2007-09-26 09:14 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 Jesse Glick 1999-04-13 21:38:49 UTC
Since the most common reason for a misparse in a hierarchy-enabled node, in my experience, is having the class be in the wrong package (i.e. the user just mounted any old directory without paying at
tention to the classpath), it would be good to specially indicate this. E.g. create a dummy node directly under the main node (before any source children) saying "Wrong package", maybe with a default
action to invoke a dialog explaining the situation, etc.

[Later] Displays a tool tip but no more for the misparse. It should be really apparent that the package is wrong; a tool tip is much too subtle.

[Petr] Deferred for 3.0
Comment 1 Jesse Glick 2001-04-11 17:23:53 UTC
Nothing has changed, but perhaps the tool tip is enough.
Comment 2 Jan Becicka 2001-10-24 10:48:11 UTC
What about closing this bug? Tool tip is enough, isn't it?
Comment 3 Jan Becicka 2001-10-24 10:48:55 UTC
reassigning
Comment 4 Svata Dedic 2001-10-24 11:10:33 UTC
I think it is; there used to be an "error" icon when the package decl
was wrong, but it made users think that there are errors in the source
and they run away scared :-)
Comment 5 Quality Engineering 2003-07-01 13:12:35 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 6 Quality Engineering 2003-07-01 13:20:23 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.