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

Alan Bateman Alan.Bateman at oracle.com
Fri May 24 14:02:06 UTC 2013


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.

-Alan.




More information about the core-libs-dev mailing list