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.
dev build 200605211800 I have a class that implements two interfaces. The first requires it to implement: public Configuration getConfiguration(Class<? extends Image> clazz); the second requires it to implement: public Configuration getConfiguration(Class<? extends Specification> clazz); The class implements the first but not the second -- so when I try compiling it I get a compiler error. When I run Override Methods it does not see the need to add latter method at all. My guess is that type-erasure comes into play and the wizard thinks that the method is already implemented even though it is not.
Dusan, is it still valid for the new builds?
Fixed. Removing ui/OverridePanel.java; /cvs/java/editor/src/org/netbeans/modules/java/editor/codegen/ui/OverridePanel.java,v <-- OverridePanel.java new revision: delete; previous revision: 1.2 done RCS file: /cvs/java/editor/src/org/netbeans/modules/java/editor/codegen/ui/ImplementOverridePanel.form,v done Checking in ui/ImplementOverridePanel.form; /cvs/java/editor/src/org/netbeans/modules/java/editor/codegen/ui/ImplementOverridePanel.form,v <-- ImplementOverridePanel.form initial revision: 1.1 done Removing ui/OverridePanel.form; /cvs/java/editor/src/org/netbeans/modules/java/editor/codegen/ui/OverridePanel.form,v <-- OverridePanel.form new revision: delete; previous revision: 1.1 done RCS file: /cvs/java/editor/src/org/netbeans/modules/java/editor/codegen/ui/ImplementOverridePanel.java,v done Checking in ui/ImplementOverridePanel.java; /cvs/java/editor/src/org/netbeans/modules/java/editor/codegen/ui/ImplementOverridePanel.java,v <-- ImplementOverridePanel.java initial revision: 1.1 done Removing OverrideMethodGenerator.java; /cvs/java/editor/src/org/netbeans/modules/java/editor/codegen/OverrideMethodGenerator.java,v <-- OverrideMethodGenerator.java new revision: delete; previous revision: 1.3 done RCS file: /cvs/java/editor/src/org/netbeans/modules/java/editor/codegen/ImplementOverrideMethodGenerator.java,v done Checking in ImplementOverrideMethodGenerator.java; /cvs/java/editor/src/org/netbeans/modules/java/editor/codegen/ImplementOverrideMethodGenerator.java,v <-- ImplementOverrideMethodGenerator.java initial revision: 1.1 done Checking in GeneratorUtils.java; /cvs/java/editor/src/org/netbeans/modules/java/editor/codegen/GeneratorUtils.java,v <-- GeneratorUtils.java new revision: 1.7; previous revision: 1.6 done Checking in Bundle.properties; /cvs/java/editor/src/org/netbeans/modules/java/editor/codegen/Bundle.properties,v <-- Bundle.properties new revision: 1.4; previous revision: 1.3 done Checking in GenerateCodeAction.java; /cvs/java/editor/src/org/netbeans/modules/java/editor/codegen/GenerateCodeAction.java,v <-- GenerateCodeAction.java new revision: 1.6; previous revision: 1.5 done
Reorganization of java component