You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Boris Petrov (Jira)" <ji...@apache.org> on 2020/01/02 20:23:00 UTC
[jira] [Updated] (VFS-750) [2.5.0] AbstractFileObject is
backwards-incompatible
[ https://issues.apache.org/jira/browse/VFS-750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Petrov updated VFS-750:
-----------------------------
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`.
was:
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 in `2.5.0`.
> [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
>
> 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)