[
https://issues.apache.org/jira/browse/IO-794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17724370#comment-17724370
]
Gary D. Gregory commented on IO-794:
------------------------------------
Hello [~seb],
The most important level of compatibikty IMO is binary compatibility, which we
do our best to provide and check for in all of our builds (JApiCmp in GHA
builds).
Source compatibility is not guaranteed, it's just a nice to have. In this case,
if you want to use 2
12.0, you'll have to update your sources.
> 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)