RFR: JDK-8028628 - java/nio/channels/FileChannel/Size.java failed once in the same binary run
Lance @ Oracle
lance.andersen at oracle.com
Wed Nov 20 02:39:29 UTC 2013
Looks ok
Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com
Sent from my iPad
On Nov 19, 2013, at 6:57 PM, Dan Xu <dan.xu at oracle.com> wrote:
> 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