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

Alan Bateman Alan.Bateman at oracle.com
Fri Dec 11 06:39:35 UTC 2015


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

-Alan


On 11/12/2015 01:29, Brian Burkhalter wrote:
> This RFR was neither approved nor rejected.
>
> Thanks,
>
> Brian
>
> On Aug 19, 2015, at 5:06 PM, Brian Burkhalter 
> <brian.burkhalter at oracle.com <mailto:brian.burkhalter at oracle.com>> wrote:
>
>> 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/20151211/a2ca4647/attachment-0001.html>


More information about the nio-dev mailing list