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

Gilles Sadowski commented on IO-797:
------------------------------------

bq. I can fix my code but I expected this sort of change only to be made with a 
major version number bump.

If you recompile in order to benefit from new features, then you must be 
prepared to deal with all the changes that might impact your code...


> 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