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.
Seems the fix of issue #50198 can cause deadlocks at least sometimes. Calling FileLock.releaseLock() notifies listeners, so it should not be done while holding a monitor.
See details in issue #57480.
Have patch; cannot reproduce deadlock with it applied, at least.
Fixed w/ issue #57794: committed * Up-To-Date 1.29 ant/project/src/org/netbeans/spi/project/support/ant/AntProjectHelper.java committed * Up-To-Date 1.12 ant/project/src/org/netbeans/spi/project/support/ant/ProjectProperties.java
Will need QA assistance.
Diff incl. fix of issue #57794 (*after* issue #50198 patch): http://www.netbeans.org/source/browse/ant/project/src/org/netbeans/spi/project/support/ant/AntProjectHelper.java?r1=1.28&r2=1.29 http://www.netbeans.org/source/browse/ant/project/src/org/netbeans/spi/project/support/ant/ProjectProperties.java?r1=1.11&r2=1.12
I have tried hard but couldn't reproduce the deadlock in continuous trunk build #20050413-0713 of NetBeans 4.2. I agree with integration to release41 branch.
Incl. issue #57794: committed * Up-To-Date 1.27.14.2 ant/project/src/org/netbeans/spi/project/support/ant/AntProjectHelper.java committed * Up-To-Date 1.11.22.1 ant/project/src/org/netbeans/spi/project/support/ant/ProjectProperties.java
Verified in RC1 candidate build #200504171930 of NetBeans 4.1.