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

Sebastian T updated IO-794:
---------------------------
    Description: 
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.

  was:
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.

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.


> 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)

Reply via email to