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 - [JDK1.5.0] Anonymous inner classes displayed separately with +
Summary: [JDK1.5.0] Anonymous inner classes displayed separately with +
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC All
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2004-01-06 09:51 UTC by Milan Kubec
Modified: 2007-09-26 09:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (12.58 KB, image/png)
2004-01-06 13:32 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
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.