[
https://issues.apache.org/jira/browse/OAK-11976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18043094#comment-18043094
]
Manfred Baedke edited comment on OAK-11976 at 12/5/25 3:56 PM:
---------------------------------------------------------------
Those are not functionally identical. The one from jackrabbit-data makes a
File#canRead() check on instantiation and also closes automatically once EOF is
reached. I checked the codebase and found places that are relying on that. So,
not entirely trivial to replace with the other one (though it could be done
afaics, because no public API is involved).
was (Author: baedke):
Those are not functionally identical. The one from jackrabbit-data makes a
File#canRead() check on instantiation and also closes automatically once EOF is
reached. I checked the codebase and found places that are relying on that. So,
not entirely trivial to replace with the other one (though it could be done
afaics, because no public API is involved).
[~reschke] suggested a renaming to AutoClosingLazyFileInputStream to avoid
confusion.
> remove usage of org.apache.jackrabbit.core.data.LazyFileInputStream
> -------------------------------------------------------------------
>
> Key: OAK-11976
> URL: https://issues.apache.org/jira/browse/OAK-11976
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: blob-plugins
> Reporter: Julian Reschke
> Assignee: Manfred Baedke
> Priority: Minor
>
> There are two non-test uses of Jackrabbit's LazyFileInputStream, one of which
> is from jackrabbit-data. Can we replace that one with the one from
> jcr-commons?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)