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 149276 [details] Demonstation of the bug There's a method: public boolean isEmpty() { return (this.size() == 0); } Netbeans 8.0 offers to replace "(this.size() == 0)" to "isEmpty()" which is incorrect suggestion and will lead to stack overflow. Check attached picture.
Fixed in jet-main#9d1c0c54a5ea
Integrated into 'main-silver', will be available in build *201504030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/9d1c0c54a5ea User: Svata Dedic <sdedic@netbeans.org> Log: #247190: avoid recursion in isEmpty implementation itself
The issue still persists in version 8.0.2 https://netbeans.org/bugzilla/show_bug.cgi?id=252979
*** Bug 252979 has been marked as a duplicate of this bug. ***
The issue is fixed in dev build only