[
https://issues.apache.org/jira/browse/JCR-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Guggisberg updated JCR-2903:
-----------------------------------
Component/s: jackrabbit-jcr-rmi
the following methods do close the passed stream if the content size exceeds
a certain limit (e.g. 1k); this is caused by the conditional use of
java.io.SequenceInputStream.
Node.setProperty(String, InputStream)
Property.setValue(InputStream)
ValueFactory.createValue(InputStream)
ValueFactory.createBinary(InputStream)
> Session.importXml should close the input stream (as to JSR 283/JCR 2.0)
> -----------------------------------------------------------------------
>
> Key: JCR-2903
> URL: https://issues.apache.org/jira/browse/JCR-2903
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core, jackrabbit-jcr-rmi, jackrabbit-jcr2spi
> Reporter: Alex Parvulescu
>
> http://markmail.org/thread/crwx27dkt2cnjjy7
> This is available for all that follow:
> Node.setProperty(String, InputStream)
> Property.setValue(InputStream)
> ValueFactory.createValue(InputStream)
> ValueFactory.createBinary(InputStream)
> Session.importXML(String, InputStream, int)
> Workspace.importXML(String, InputStream, int)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira