You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (Jira)" <ji...@apache.org> on 2020/08/08 15:44:00 UTC

[jira] [Resolved] (IO-646) org.apache.commons.io.FileUtils.writeStringToFile causes crashes on Android 4.2

     [ https://issues.apache.org/jira/browse/IO-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved IO-646.
---------------------
    Fix Version/s:     (was: 2.5)
       Resolution: Won't Fix

>  org.apache.commons.io.FileUtils.writeStringToFile causes crashes on Android 4.2
> --------------------------------------------------------------------------------
>
>                 Key: IO-646
>                 URL: https://issues.apache.org/jira/browse/IO-646
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Streams/Writers
>    Affects Versions: 2.6
>         Environment: Android 4.2 (API 17)
>            Reporter: Hong Zhang
>            Priority: Major
>
> Version 2.6 causes the following crash on Android 4.2 (probably on versions lower than 4.2 too)
> {{java.lang.NoClassDefFoundError: 
>   at org.apache.commons.io.Charsets.<clinit> (Charsets.java:120)
>   at org.apache.commons.io.FileUtils.writeStringToFile (FileUtils.java:2035)
>   at org.apache.commons.io.FileUtils.writeStringToFile (FileUtils.java:1999)}}
> {{}}
> {{}}Version 2.5 works flawlessly



--
This message was sent by Atlassian Jira
(v8.3.4#803005)