[ 
https://issues.apache.org/jira/browse/TIKA-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983784#action_12983784
 ] 

Jukka Zitting commented on TIKA-567:
------------------------------------

To clarify, there's normally no need to use the TemporaryFiles construct in 
client code, it's mostly for internal Tika code.

> Temporary file leak in TikaInputStream
> --------------------------------------
>
>                 Key: TIKA-567
>                 URL: https://issues.apache.org/jira/browse/TIKA-567
>             Project: Tika
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 0.8
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>             Fix For: 0.9
>
>
> The TikaInputStream.get(InputStream) method can end up leaking temporary 
> files in cases like the Detector classes that will not close the returned 
> stream.
> There should be a mechanism to signal that a potential TikaInputStream 
> wrapper will no longer be used even if the underlying stream should not be 
> closed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to