[
https://issues.apache.org/jira/browse/JCR-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14135550#comment-14135550
]
Unico Hommes commented on JCR-3810:
-----------------------------------
Fixed in 2.8 branch in revision 1625322.
> StreamWrapper can attempt to reset plain InputStreams
> -----------------------------------------------------
>
> Key: JCR-3810
> URL: https://issues.apache.org/jira/browse/JCR-3810
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Affects Versions: 2.6.5, 2.8, 2.9
> Reporter: Unico Hommes
> Assignee: Unico Hommes
>
> Resetting a StreamWrapper is used when executing a SQL statement failed in
> order to be able to retry executing the statement.
> Currently it only resets streams of type TempFileInputStream, but can easily
> attempt to attempt to reset any InputStream whatsoever because the
> InputStream#reset method specifies that InputStreams should throw an
> IOException when resetting it is not possible or fails.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)