8133986: (fs) Remove file deletion from test/java/nio/file/FileSystem/Basic.java checkNoUOE() method

Do not delete file which provoked an unexpected exception.

Reviewed-by: alanb
This commit is contained in:
Brian Burkhalter 2015-12-11 08:30:50 -08:00
parent c0929b433d
commit 031af5cb63

View File

@ -67,8 +67,6 @@ public class Basic {
} catch (ProviderNotFoundException pnfe) {
System.out.println("Expected ProviderNotFoundException caught: "
+ "\"" + pnfe.getMessage() + "\"");
} finally {
FileUtils.deleteFileWithRetry(path);
}
}