Dave Moten created IO-797:
-----------------------------

             Summary: 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


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