diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2014-03-09 12:09:19 +0100 |
---|---|---|
committer | Robin Rosenberg <robin.rosenberg@dewire.com> | 2014-03-09 12:09:42 +0100 |
commit | 7e258e6468a2bbb357bfb06d4e844cf694325b10 (patch) | |
tree | 70c928636ad57f0a4b472d118d05bc30c00ddb9e /org.eclipse.jgit.java7 | |
parent | 7aa3358c40959ab996697f3c739acc86ded7f6ff (diff) | |
download | jgit-7e258e6468a2bbb357bfb06d4e844cf694325b10.tar.gz jgit-7e258e6468a2bbb357bfb06d4e844cf694325b10.zip |
Catch UnsupportedOperationException for older Windowses
Bug: 429947
Change-Id: I78d38b345726f62841db34f7091812a91bf21b4b
Diffstat (limited to 'org.eclipse.jgit.java7')
-rw-r--r-- | org.eclipse.jgit.java7/src/org/eclipse/jgit/util/FS_Win32_Java7.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.java7/src/org/eclipse/jgit/util/FS_Win32_Java7.java b/org.eclipse.jgit.java7/src/org/eclipse/jgit/util/FS_Win32_Java7.java index 4a9d5f0bb7..071186725c 100644 --- a/org.eclipse.jgit.java7/src/org/eclipse/jgit/util/FS_Win32_Java7.java +++ b/org.eclipse.jgit.java7/src/org/eclipse/jgit/util/FS_Win32_Java7.java @@ -80,7 +80,7 @@ public class FS_Win32_Java7 extends FS_Win32 { FileUtil.createSymLink(linkName, tempFile.getPath()); supportSymlinks = Boolean.TRUE; linkName.delete(); - } catch (IOException e) { + } catch (IOException | UnsupportedOperationException e) { supportSymlinks = Boolean.FALSE; } finally { if (tempFile != null) |