ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 52188] DirectoryScanner is not threadsafe
Date Tue, 15 Nov 2011 18:34:55 GMT

--- Comment #1 from Alex <> 2011-11-15 18:34:55 UTC ---
We have a build target which runs several concurrent builds inside of a
parallel block.  This target would intermittently through several NPE's and
fail.  Long story short, I chased the NPE's back to the DirectoryScanner class.
 In looking at the class it was clear that there several methods which modified
the same member, and had no locking in place to prevent concurrent modification
of that member.  

Since applying the attached patch, we have not seen this error (several hundred
builds later). Whereas without the patch, we see the failure in at least 1 out
of every 10 builds.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message