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.
[JDK 1.5.0 build 32] Anonymous inner classes has name in form of OuterClass+1. It means that these names are displayed in Explorer by separate nodes. See screenshot.
Created attachment 12711 [details] screenshot
If you switch Tools->Options->Ide Configuration->System->Object Types->Java Source Objects->Parse Class File option to true, everything works fine except files handed by Form module. To fix it FormDataLoader.findPrimaryFile() should use implementation from JavaDataLoader to recognize java and class files. Reassigning to Form module.
Fixed on form side. FormDataLoader.findPrimaryFile() delegates to JavaDataLoader. IMO JavaDataLoader still needs to be fixed to recognize class files without "Parse Class File" option set to true.
"Parse Class File" option is the correct way how to handle this situation.
So should be "Parse Class File" set to true by default (on jdk1.5)? Doesn't it cause performance problems when opening a folder?
Verified, although the "feature" will be probably removed from JDK.
Verified.