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.
Does not take nested classes into account. try { ... } finally { something.post(new Runnable() { public void run() { ... return; // <= falsely marked as return in finally block } }); }
Good catch! I'll update the query to not search method invocation parameters.
Added the correct change to block scanning child nodes of ClassTree and NewClassTree nodes, as both can be used within a finally block correctly.