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 103686 - Name clash: ClassChooserPanel.java:185 createNodes() in
Summary: Name clash: ClassChooserPanel.java:185 createNodes() in
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-10 20:23 UTC by charlweed
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch to change Object argument to Node argument (891 bytes, application/octet-stream)
2007-05-10 22:31 UTC, charlweed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charlweed 2007-05-10 20:23:14 UTC
Daily build 20070508 1800
 Encountered when doing a "Build with dependencies" in the GUI


nb60_cvs\java\src\org\netbeans\modules\java\ui\editors\ClassChooserPanel.java:185:
name clash: createNodes(java.lang.Object) in
org.netbeans.modules.java.ui.editors.ClassChooserPanel.Ch and createNodes(T) in
org.openide.nodes.Children.Keys<org.openide.nodes.Node> have the same erasure,
yet neither overrides the other
    private class Ch extends FilterNode.Children {

This can be worked around by building the Java Source Files (or the Nodes API)
module with the 1.4 source options. Of course, the real solution is to fix line
185 with the correct class.
Comment 1 charlweed 2007-05-10 22:31:59 UTC
Created attachment 42289 [details]
Patch to change Object argument to Node argument
Comment 2 Jiri Prox 2007-05-11 07:19:34 UTC
The java module is not part of NB anymore, it was replaced by module java/sources. 
Comment 3 Quality Engineering 2007-09-20 10:21:57 UTC
Reorganization of java component