[9] RFR of 8133986: (fs) Remove file deletion from test/java/nio/file/FileSystem/Basic.java checkNoUOE() method

Brian Burkhalter brian.burkhalter at oracle.com
Thu Aug 20 00:06:09 UTC 2015


Please review at your convenience.

Issue:	https://bugs.openjdk.java.net/browse/JDK-8133986
Diff:

--- a/test/java/nio/file/FileSystem/Basic.java
+++ b/test/java/nio/file/FileSystem/Basic.java
@@ -67,7 +67,6 @@
         } catch (ProviderNotFoundException pnfe) {
             System.out.println("Expected ProviderNotFoundException caught: "
                 + "\"" + pnfe.getMessage() + "\"");
-        } finally {
             FileUtils.deleteFileWithRetry(path);
         }
     }
b

Summary: Only delete files for which an unexpected exception did not occur.

Thanks,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20150819/312ed412/attachment-0001.html>


More information about the nio-dev mailing list