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 2023/05/19 18:39:00 UTC

[jira] [Resolved] (IO-794) Incompatible method signature change of FileUtils.readLine

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

Gary D. Gregory resolved IO-794.
--------------------------------
    Resolution: Information Provided

> Incompatible method signature change of FileUtils.readLine
> ----------------------------------------------------------
>
>                 Key: IO-794
>                 URL: https://issues.apache.org/jira/browse/IO-794
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.12.0
>            Reporter: Sebastian T
>            Priority: Major
>
> The following commit [https://github.com/apache/commons-io/commit/166dea37e810fcfa9c72cf1f107fd38cfb432486]
> changed the throws Signature of the FileUtils.readLine methods from "throws IOException" to "throws UncheckedIOException". This change results in compilation failures if the checked IOException was catched explicitly (`Unreachable catch block for IOException`).
> Backwards incompatible API changes should only be done in major releases. I'd therefore like ask that this change is reverted and ideally a new minor release is provided as soon as possible.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)