--- old/src/java.base/unix/classes/sun/nio/fs/UnixException.java 2016-04-04 20:59:05.674531707 +0300 +++ new/src/java.base/unix/classes/sun/nio/fs/UnixException.java 2016-04-04 20:59:05.570532169 +0300 @@ -70,6 +70,13 @@ return errorString(); } + @Override + public Throwable fillInStackTrace() { + // This is an internal exception, the stack trace is irrelevant. + // translateTo* methods would start the stack trace over. + return this; + } + /** * Map well known errors to specific exceptions where possible; otherwise * return more general FileSystemException.