Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-750

[2.5.0] AbstractFileObject is backwards-incompatible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • None

    Description

      This is a show-stopper issue.

      This commit:

      https://github.com/apache/commons-vfs/commit/953aa407df78f0d10da54e29323d404cda3e4f6b

      Made the abstract (mandatory) method `doGetInputStream()` into a protected method that calls `doGetInputStream(int bufferSize)` which throws an exception.

      All current implementations implement only `doGetInputStream()` (because that was the API in `2.4.1`) which is actually not called anywhere in the class -  only `doGetInputStream(int bufferSize)` is. This means that ALL VFS plugins break on `2.5.0`.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              boris-petrov Boris Petrov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m