8133986: (fs) Remove file deletion from test/java/nio/file/FileSystem/Basic.java checkNoUOE() method
Summary: Do not delete file which provoked an unexpected exception.
Reviewed-by: alanb
--- a/jdk/test/java/nio/file/FileSystem/Basic.java Fri Dec 11 16:16:55 2015 +0100
+++ b/jdk/test/java/nio/file/FileSystem/Basic.java Fri Dec 11 08:30:50 2015 -0800
@@ -67,8 +67,6 @@
} catch (ProviderNotFoundException pnfe) {
System.out.println("Expected ProviderNotFoundException caught: "
+ "\"" + pnfe.getMessage() + "\"");
- } finally {
- FileUtils.deleteFileWithRetry(path);
}
}