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.
This is my code (waiting until other thread calls lock.unlock()) where I believe that the hint "Lock.unlock() not unlocked in finally" should not be used: lock.lock(); lock.unlock(); This is what the hint suggests: lock.lock(); try { } finally { lock.unlock(); }
Integrated into 'main-golden', will be available in build *201008070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7ced86de6cb2 User: Jan Lahoda <jlahoda@netbeans.org> Log: #186434: lock(); unlock(); should not trigger "missing try-finally" warning.