You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2024/02/19 16:07:00 UTC
[jira] [Commented] (IO-848) FileUtil.createTempFileWithLines swallows exceptions
[ https://issues.apache.org/jira/browse/IO-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818520#comment-17818520 ]
Gary D. Gregory commented on IO-848:
------------------------------------
Wrong project? There is no such class or method in Commons IO (no {{FileUtil}})
> FileUtil.createTempFileWithLines swallows exceptions
> ----------------------------------------------------
>
> Key: IO-848
> URL: https://issues.apache.org/jira/browse/IO-848
> Project: Commons IO
> Issue Type: Bug
> Reporter: Elliotte Rusty Harold
> Priority: Critical
>
> Although this method is declared to throw IOException, it doesn't do so when writing the file as it uses a PrintWriter.
> Probably worth thinking about how this method handles encoding too.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)