RFR: 8014855: TEST_BUG: java/nio/file/Files/StreamTest.java fails when sym links not supported
Henry Jen
henry.jen at oracle.com
Sat May 25 03:44:34 UTC 2013
On May 24, 2013, at 7:02 AM, Alan Bateman <Alan.Bateman at oracle.com> 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.
>
If I didn't misunderstand you, that's implemented in earlier test for walk in this same file. This fix is for SecurityException cases.
Cheers,
Henry
> -Alan.
>
More information about the core-libs-dev
mailing list