]> source.dussan.org Git - jgit.git/commit
Detect stale-file-handle error in causal chain 89/89589/5
authorHongkai Liu <hongkai.liu@ericsson.com>
Tue, 24 Jan 2017 19:08:25 +0000 (14:08 -0500)
committerHongkai Liu <hongkai.liu@ericsson.com>
Tue, 31 Jan 2017 02:36:59 +0000 (22:36 -0400)
commita33663fd4edce3585ff20c842f297e60e0e9af85
tree6e7b91ff89d3c887871544336ab51c36ed8b3651
parent62411453f1e821152cad7c8847728cc162a0b561
Detect stale-file-handle error in causal chain

Cover the case where the exception is wrapped up as a
cause, e.g., PackIndex#open(File).

Change-Id: I0df5b1e9c2ff886bdd84dee3658b6a50866699d1
Signed-off-by: Hongkai Liu <hongkai.liu@ericsson.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/FileUtilsTest.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/RefDirectory.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java