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 62211 - In Favorites tab, even empty java files have expandable node shown
Summary: In Favorites tab, even empty java files have expandable node shown
Status: VERIFIED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-12 11:45 UTC by Max Sauer
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 Max Sauer 2005-08-12 11:45:03 UTC
In Favorites tab, empty *.java files containing no classes look like they do
have some -- an expandable node is shown there in the JTree. After a nouse
click, the node diappears.

[200508111800, JDK 1.5.0_05 b03 fcs, solaris 10 / sparc]
Comment 1 Pavel Flaska 2005-08-26 09:02:07 UTC
This is reproducible also in projects tab and also expanding methods/fields node
works similiary. Of course, it should be better detected, if there exists
subnodes and indicate it properly. But this will cause some performance
problems. Consider there are many files in your folder. When you expand folder
(package) node, all the file has to be checked for class existence. It takes
some time. Price for fixing this issue is too high. So suggesting to close as
WONTFIX or lowering priority. Opinions?
Comment 2 Pavel Flaska 2005-08-26 09:23:11 UTC
After a discussion with other team members, we decided to close it as WONTFIX.
Issue is valid, but the effect is too small and performance regression to high.
And there isn't even any chance to fix it without huge time consuming operation
in the future.
Comment 3 Max Sauer 2005-08-30 09:28:59 UTC
Ok, marking as verified.
Comment 4 Quality Engineering 2007-09-20 11:59:44 UTC
Reorganization of java component