commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IO-560) IOUtils write file lose data
Date Sun, 24 Dec 2017 14:20:00 GMT

    [ https://issues.apache.org/jira/browse/IO-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16302858#comment-16302858
] 

Gary Gregory commented on IO-560:
---------------------------------

Hello,

May you please:

- try the current version, 2.6, and,
- close the file writer

Thank you, 
Gary 

> IOUtils write file lose data
> ----------------------------
>
>                 Key: IO-560
>                 URL: https://issues.apache.org/jira/browse/IO-560
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Streams/Writers
>    Affects Versions: 1.3.2
>         Environment: Mac OS 10.13.2
> Java version "1.8.0_111"
> scalaVersion := "2.12.4"
> IntelliJ IDEA 2017.2
>            Reporter: chenjiangtao
>
> # commons-io-1.3.2-IOUtils-Bug
> ## IOUtils write file lose data 
> method: public static void write(String data, Writer output)
> - result of file: mycat.jpg.b64
> ![](http://static.tuzhihao.com//1514115829.png?imageMogr2/thumbnail/!100p)
> - result of file: mystring
> ![](http://static.tuzhihao.com//1514115874.png?imageMogr2/thumbnail/!100p)
> This bug test in Github
> [https://github.com/chenjiangtao/commons-io-1.3.2-IOUtils-Bug]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message