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.
After the refactoring merge (040603), if you implement some interface on a class and then accept the changes recommended by the synchronization dialog, all the types (return values and parameters) in the generated methods use fully-qualified class names. This is so even if the classes are already imported, or in the java.lang.* package. (Did not check the case that the type is in the same package as the edited class, in which case it also does not need a FQN.) Regression from pre-merge trunk, when package prefixes were inserted only for type names that would otherwise be unresolvable.
Moved to new subcomponent java/javacore.
Dane, please make sure that the names that are generated are the same regardless of whether src.zip is available or not (see issue 32192).
Fixed. Checking in org/netbeans/modules/java/bridge/ElementImpl.java; /cvs/java/src/org/netbeans/modules/java/bridge/ElementImpl.java,v <- - ElementImpl.java new revision: 1.12; previous revision: 1.11 done Checking in org/netbeans/modules/java/bridge/FeaturesCollection.java; /cvs/java/src/org/netbeans/modules/java/bridge/FeaturesCollection.jav a,v <-- FeaturesCollection.java new revision: 1.7; previous revision: 1.6 done Processing log script arguments... More commits to come... Checking in org/netbeans/modules/java/codesync/ClassDependencyImpl.java; /cvs/java/src/org/netbeans/modules/java/codesync/ClassDependencyImpl. java,v <-- ClassDependencyImpl.java new revision: 1.35; previous revision: 1.34 done
Just tried in 040805 to use Ctrl-I on a static nested class and override equals(Object) and hashCode(). The equals method was created with "java.lang.Object" in the signature.
Checking in codesync/ClassDependencyImpl.java; /cvs/java/src/org/netbeans/modules/java/codesync/ClassDependencyImpl.java,v <-- ClassDependencyImpl.java new revision: 1.37; previous revision: 1.36 done Processing log script arguments... More commits to come... Checking in tools/InheritanceSupport2.java; /cvs/java/src/org/netbeans/modules/java/tools/InheritanceSupport2.java,v <-- InheritanceSupport2.java new revision: 1.10; previous revision: 1.9 done
Reorganization of java component