|
||||||||||||
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
[JIRA] (JENKINS-15331) Workaround Windows unpredictable file locking in Util.deleteContentsRecursive
- [JIRA] (JENKINS-15331) Workaround Windows unpredi... pjdar...@java.net (JIRA)
- [JIRA] (JENKINS-15331) Workaround Windows un... pjdar...@java.net (JIRA)
- [JIRA] (JENKINS-15331) Workaround Windows un... pjdar...@java.net (JIRA)
- [JIRA] (JENKINS-15331) Workaround Windows un... pjdar...@java.net (JIRA)
Uploaded git patch file; this was produced using the git command-line and isn't claiming to change the entire file. This will probably be a lot easier to merge.
This is my "New-and-improved" solution.
In addition to retrying the deletes, this also calls System.gc() if it's on Windows (a tactic that's also used in Apache Ant's Delete task to workaround the same problem).