From 2e09239906d726ba2aff8d7bcd23c4003f4395ff Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Mon, 12 Aug 2013 19:08:11 -0400 Subject: [PATCH] Java 5 compatibility. --- core/src/main/java/hudson/FilePath.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/FilePath.java b/core/src/main/java/hudson/FilePath.java index 21b6b6088d..a3abe02d46 100644 --- a/core/src/main/java/hudson/FilePath.java +++ b/core/src/main/java/hudson/FilePath.java @@ -1911,7 +1911,7 @@ public final class FilePath implements Serializable { try { Util.createSymlink(dest, target, relativePath, TaskListener.NULL); } catch (InterruptedException x) { - throw new IOException(x); + throw (IOException) new IOException(x.toString()).initCause(x); } count.incrementAndGet(); }