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.
NB trunk build 200406151800, JDK1.5.0-beta3-b55. 1. Into some class type: "String s; s." 2. Invoke code completion after the dot. 3. In the code completion view, find equals(Object) and hashCode method and let the javadoc view show the header of the methods. You can see that these methods are not final. Also, these two method are not bold-meaning that they were not redefined in the String class (althought they were). 4. Also the name of the argument of the equals method changed. It was anObject and is obj now. It worked as supposed (final equals, hashCode, both redefined in String, argument "anObject") in NB continuous build 20040615-1325.
Adding issues@editor.netbeans.org to CC.
The problem also occurs on NB continuous build 20040616-1506.
Seems to me that it is not bug in our infrastracture. See added test, which tries to reproduce your bug. Reassigning to editor to evaluate. Checking in test/cfg-unit.xml; /cvs/java/javacore/test/cfg-unit.xml,v <-- cfg-unit.xml new revision: 1.12; previous revision: 1.11 done Processing log script arguments... More commits to come... RCS file: /cvs/java/javacore/test/unit/src/org/netbeans/jmi/javamodel/getters/StringMethodsSigTest.java,v done Checking in test/unit/src/org/netbeans/jmi/javamodel/getters/StringMethodsSigTest.java; /cvs/java/javacore/test/unit/src/org/netbeans/jmi/javamodel/getters/StringMethodsSigTest.java,v <-- StringMethodsSigTest.java initial revision: 1.1
Fixed in [maintrunk]. Checking in JMIUtils.java; /cvs/editor/src/org/netbeans/modules/editor/java/JMIUtils.java,v <-- JMIUtils.java new revision: 1.13; previous revision: 1.12 done
Seems OK in 200406271800.