[
https://issues.apache.org/jira/browse/VFS-750?focusedWorklogId=366370&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-366370
]
ASF GitHub Bot logged work on VFS-750:
--------------------------------------
Author: ASF GitHub Bot
Created on: 05/Jan/20 15:29
Start Date: 05/Jan/20 15:29
Worklog Time Spent: 10m
Work Description: boris-petrov commented on pull request #77: [VFS-750]
Fix backwards incompatibility in AbstractFileObject.getInputStream
URL: https://github.com/apache/commons-vfs/pull/77
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 366370)
Time Spent: 20m (was: 10m)
> [2.5.0] AbstractFileObject is backwards-incompatible
> ----------------------------------------------------
>
> Key: VFS-750
> URL: https://issues.apache.org/jira/browse/VFS-750
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 2.5.0
> Reporter: Boris Petrov
> Priority: Blocker
> Fix For: 2.5.1
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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`.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)