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.
Created attachment 123891 [details] suspicious string comparisons via == There are cases where strings returned from Bundle.AAA() calls are compared via ==. This is wrong, since Bundle.AAA() can return different instances of String. See attached file for list of suspicious cases.
fixed in: http://hg.netbeans.org/profiler-main/rev/06afba0cc4c2
Verified in profiler-main build.
Transplanted to release72 branch changeset: 239474:b6fdee87798c branch: release72 parent: 239311:60eb0ef30dec user: Petr Cyhelsky <cyhelsky@netbeans.org> date: Tue Sep 04 18:30:20 2012 +0200 summary: #217825 - replacing == with .equals() in bundle strings comparisons changeset: 239475:df10b3a34a8c branch: release72 tag: tip user: Tomas Hurka <thurka@netbeans.org> date: Wed Sep 05 12:49:45 2012 +0200 summary: spec. version increased for #217825
Integrated into 'releases', will be available in build *201209051408* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/b6fdee87798c User: Petr Cyhelsky <cyhelsky@netbeans.org> Log: #217825 - replacing == with .equals() in bundle strings comparisons (transplanted from 06afba0cc4c270395c143871b6b42a10e9bde5ab)
Integrated into 'main-golden', will be available in build *201209060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/06afba0cc4c2 User: Petr Cyhelsky <cyhelsky@netbeans.org> Log: #217825 - replacing == with .equals() in bundle strings comparisons
this cannot be verified directly, but the code is in the patch, so setting whiteboard to 72patch1-verified