[ 
https://issues.apache.org/jira/browse/IO-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17728303#comment-17728303
 ] 

Gary D. Gregory commented on IO-797:
------------------------------------

I agree with [~erans] .

We do our utmost to maintain _binary_ compatibility, which we did for the 
release in question. Here, you are talking about _source_ compatibility, which 
is different, nice to have certainly, not but critical when it gets in the way 
of evolving and maintaining the code base.

> IOUtils.readLines breaking change
> ---------------------------------
>
>                 Key: IO-797
>                 URL: https://issues.apache.org/jira/browse/IO-797
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.12.0
>            Reporter: Dave Moten
>            Priority: Minor
>
> org.apache.commons.io.IOUtils.readLines no longer throws IOException as of 
> 2.12.0 but rather throws an UncheckedIOException. 
> This is a breaking change in that wrapping such a call with try catch 
> (IOException e) now attracts a compile error because the method no longer 
> throws IOException.
> I'm unaware if this is a routine thing for this library, I would hope not. I 
> can fix my code but I expected this sort of change only to be made with a 
> major version number bump.



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

Reply via email to