[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
Fri Dec 11 16:13:49 UTC 2015


OK, here’s that version:

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

Thanks,

Brian

On Dec 10, 2015, at 10:39 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> I assume the usage of FileUtils.deleteFileWithRetry can simply be removed, it shouldn't be needed here.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20151211/a5c01129/attachment.html>


More information about the nio-dev mailing list