|
|
@ -80,7 +80,7 @@ public class FS_Win32_Java7 extends FS_Win32 { |
|
|
|
FileUtil.createSymLink(linkName, tempFile.getPath()); |
|
|
|
FileUtil.createSymLink(linkName, tempFile.getPath()); |
|
|
|
supportSymlinks = Boolean.TRUE; |
|
|
|
supportSymlinks = Boolean.TRUE; |
|
|
|
linkName.delete(); |
|
|
|
linkName.delete(); |
|
|
|
} catch (IOException e) { |
|
|
|
} catch (IOException | UnsupportedOperationException e) { |
|
|
|
supportSymlinks = Boolean.FALSE; |
|
|
|
supportSymlinks = Boolean.FALSE; |
|
|
|
} finally { |
|
|
|
} finally { |
|
|
|
if (tempFile != null) |
|
|
|
if (tempFile != null) |
|
|
|