Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-794

Incompatible method signature change of FileUtils.readLine

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Information Provided
    • 2.12.0
    • None
    • Utilities
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            seb Sebastian T
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: