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.
[ BUILD # : beb7bf2aea3f ] [ JDK VERSION : 1.7.9 ] Code completion suggests a wrong type for == operations. I will attach a sample to this.
Created attachment 127477 [details] Sample projet Open the sample project and at nb.Main class, line 9 column 36 hit the CC and the suggested method is hashCode(), which is incorrect. the expected behaviour is that getConst() method should be suggested.
Is it really a P2 ?
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/735d8f2d1450
Integrated into 'main-golden', will be available in build *201211150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/735d8f2d1450 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #221830: Code completion suggests a wrong type - fixed.
v. Build 20121119-3b34dfd7e17e