RFR: 8014855: TEST_BUG: java/nio/file/Files/StreamTest.java fails when sym links not supported

Alan Bateman Alan.Bateman at oracle.com
Tue Jun 4 07:25:29 PDT 2013


On 24/05/2013 15:02, Alan Bateman wrote:
> On 24/05/2013 09:30, Henry Jen wrote:
>> Hi,
>>
>> Please review a fix for 8014855.
>>
>> http://cr.openjdk.java.net/~henryjen/tl/8014855.0/webrev/
>>
>> The fix ensure we only test symbolic link related scenario on systems
>> support it.
>>
> Thanks for taking one.
>
> One idea is to just create empty files when sym links are supported. 
> That way only the test for Files.walk following sym links needs to be 
> skipped when sym links aren't supported.
Looking at this again, what you have is fine. I can sponsor this and get 
it into jdk8/tl today.

-Alan.


More information about the nio-dev mailing list