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.
Summary: | [81cat] Java hint: InfiniteRecursion testcase doesn't work | ||
---|---|---|---|
Product: | qa | Reporter: | cezariusz <cezariusz> |
Component: | Test Specifications | Assignee: | Jiri Prox <jiriprox> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 8 x64 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
cezariusz
2015-07-27 06:48:59 UTC
yes, exactly; the method2 must allow for override AND the 'exclude overriden' checkbox in the hint settings must be checked - then the hint will not trigger on methods which can be overriden (= they may skip super method invocation, breaking the recursion). There could be yet another case - a final class with non-private method; such method cannot be overriden, so the hint should appear always. Sample project updated |