8133986: (fs) Remove file deletion from test/java/nio/file/FileSystem/Basic.java checkNoUOE() method
authorbpb
Fri, 11 Dec 2015 08:30:50 -0800
changeset 34543 7c2e29c8d285
parent 34542 380f00c8ed95
child 34544 d4a872d77e1f
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
jdk/test/java/nio/file/FileSystem/Basic.java
--- 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);
         }
     }