Catch mmap errors and retry.
commit3ef5dee4d9f275cb3366441cd171c68e7db2919e
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 28 Feb 2007 22:26:16 +0000 (28 23:26 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 1 Mar 2007 03:51:43 +0000 (28 22:51 -0500)
tree1da7d4b41a32bb4f309b43e7d3223e791b82ae76
parent5250c97b6d94e470810a5a74ced9cdf7eb6148a8
Catch mmap errors and retry.

At least JDK 1.4 and 1.5 versions can hit an IOException if
memory cannot be mapped. A workaround is to catch the exception
and retry once.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/lib/Repository.java