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.
Summary: | forte4j startup issues ClassCastException :org.netbeans.core.ToolbarFolderNode | ||
---|---|---|---|
Product: | platform | Reporter: | bord <bord> |
Component: | -- Other -- | Assignee: | issues@platform <issues> |
Status: | CLOSED WORKSFORME | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 3.x | ||
Hardware: | Other | ||
OS: | Other | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
bord
2000-11-20 19:25:50 UTC
How can this be reproduced? It looks like it might be a JDK bug to me. Have you tried running with the JIT turned off? This segment of code is run by all versions of the IDE on all different platforms, and it is never a problem except apparently for you, so I am guessing there is a bug in the virtual machine. In fact org.netbeans.core.ToolbarFolderNode does extend org.openide.nodes.Node and always has; the ClassCastException is a mistake. I am guessing that the VM is confused by the legal though unusual use of the object.super(args) construction in the ToolbarFolderNode constructor; its superclass, DataFolder.FolderNode, is a nonstatic inner class of DataFolder, so the ToolbarFolderNode constructor takes a DataFolder as argument and calls folder.super(...somestuff...). The JLS permits this funny syntax for completeness though it is very rare in practice. I suggest you attempt to reproduce and file a VM bug against the AIX Java port, or of course reopen this bug if you are sure it is something wrong in NetBeans. Resolved for 3.4.x or earlier, no new info since then -> verified. Resolved for 3.4.x or earlier, no new info since then -> closing. |