RFR: JDK-8028628 - java/nio/channels/FileChannel/Size.java failed once in the same binary run

Dan Xu dan.xu at oracle.com
Tue Nov 19 23:57:48 UTC 2013


Hi All,

Please review the simple fix towards Size.java testcase. It failed once 
on windows platform in the recent same binary run, which is mostly due 
to some interferences and the special delete handling on windows.

In the fix, I remove the delete operation in initTestFile() method 
because FileOutputStream will truncate the file content and it is not 
necessary to delete it first. Thanks!

Bug:https://bugs.openjdk.java.net/browse/JDK-8028628
Webrev: http://cr.openjdk.java.net/~dxu/8028628/webrev/ 
<http://cr.openjdk.java.net/%7Edxu/8028628/webrev/>

-Dan



More information about the core-libs-dev mailing list