changeset 13295:fdd84b2265dd jdk-9+97

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
author bpb
date Fri, 11 Dec 2015 08:30:50 -0800
parents 4d367c763183
children 83e427bf6451 f86ee68d1107
files test/java/nio/file/FileSystem/Basic.java
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/nio/file/FileSystem/Basic.java	Fri Dec 11 16:16:55 2015 +0100
+++ b/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);
         }
     }