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 42169 - PackageNode contains DataObjects from subpackages
Summary: PackageNode contains DataObjects from subpackages
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Petr Hrebejk
Depends on:
Blocks: 41535
  Show dependency tree
Reported: 2004-04-20 14:28 UTC by Marian Petras
Modified: 2004-08-13 12:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2004-04-20 14:28:49 UTC
If an instance of PackageNode is asked to provide
a list of DataObjects it contains, it returns not
only DataObjects from that package but also those
contained in its subpackages.


PackageNode: ...
   ... PackageViewChildren.PackageNode

For obtaining a list of DataObjects, I use:

 DataObject.Container container =

Then, I just call container.getChildren().
Comment 1 Marian Petras 2004-05-03 13:01:18 UTC
When I was creating this bug report, the issue was causing me problems
with implementing the search feature for package nodes. This is solved
now - this issue no longer blocks the search feature.

I noticed that the issue was marked as blocking issue #41535
("Ant-based project and build system infrastructure") so I do not
close it.
Comment 2 Jesse Glick 2004-06-15 13:07:56 UTC
Petr is this still true? Does a package node still have the folder in it?
Comment 3 Petr Hrebejk 2004-06-15 13:47:01 UTC
Probably yes
Comment 4 Jaroslav Tulach 2004-08-03 16:57:30 UTC
Checking in
new revision: 1.24; previous revision: 1.23
Processing log script arguments...
More commits to come...
Checking in
new revision: 1.10; previous revision: 1.9