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 38416

Summary: [JDK1.5.0] Anonymous inner classes displayed separately with +
Product: java Reporter: Milan Kubec <mkubec>
Component: UnsupportedAssignee: issues@java <issues>
Status: VERIFIED FIXED    
Severity: blocker CC: thurka, tpavek
Priority: P2 Keywords: JDK_SPECIFIC
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description Milan Kubec 2004-01-06 09:51:16 UTC
[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.
Comment 1 Milan Kubec 2004-01-06 13:32:18 UTC
Created attachment 12711 [details]
screenshot
Comment 2 Tomas Hurka 2004-01-07 11:13:46 UTC
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.
Comment 3 Tomas Pavek 2004-01-20 17:24:32 UTC
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.
Comment 4 Tomas Hurka 2004-01-21 06:59:38 UTC
"Parse Class File" option is the correct way how to handle this situation.
Comment 5 Tomas Pavek 2004-01-21 13:14:52 UTC
So should be "Parse Class File" set to true by default (on jdk1.5)?
Doesn't it cause performance problems when opening a folder?
Comment 6 Milan Kubec 2004-02-19 08:26:04 UTC
Verified, although the "feature" will be probably removed from JDK.
Comment 7 Milan Kubec 2004-02-19 08:32:27 UTC
Verified.