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.
The (misnamed) J2SEPhysicalViewProvider makes J2SERootFilterNode be a filter over the FolderNode. Probably this is a mistake. It just causes unknown and possibly buggy effects, such as a DataFolder being in the node lookup (which misleads people into trying to use that cookie as is). I have now heard of at least two people trying to do things the wrong way because they made unfounded assumptions based on the contents of the J2SERFN lookup. Better IMHO to keep the current visible appearance but change the node impl to be a plain AbstractNode with just the Project in its lookup - all that is required by LogicalViewProvider.
So the RootNode of packageView is no longer filter over DataNode. That's nice. However I had to leave the DataFolder in it's lookup in order to make the Find action happy (working). Maybe we should do something to FindAction in order to permit searching without hawing DataFolder in lookup.
I am preparing a mechanism that will allow searching without DataFolder being in Lookup.
Marian, do you have an issue filed that Find does not work without the DataObject? BTW the Sources impl in j2seproject should now be accurate and complete, with folders of TYPE_GENERIC and TYPE_JAVA.
No, there is no such issue.
OK, I filed issue #42540 for tracking purposes.