You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (JIRA)" <ji...@apache.org> on 2015/05/12 15:39:00 UTC
[jira] [Commented] (TIKA-1628) ExternalParser.check should return
false if it hits SecurityException
[ https://issues.apache.org/jira/browse/TIKA-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14539834#comment-14539834 ]
Nick Burch commented on TIKA-1628:
----------------------------------
Via ForkParser we already have a way to spawn a new JVM and have it run our code, maybe we could do something along those lines for the test? (Though perhaps it's an overkill...)
> ExternalParser.check should return false if it hits SecurityException
> ---------------------------------------------------------------------
>
> Key: TIKA-1628
> URL: https://issues.apache.org/jira/browse/TIKA-1628
> Project: Tika
> Issue Type: Bug
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 1.9
>
> Attachments: TIKA-1628.patch
>
>
> If you run Tika with a Java security manager that blocks execution of external processes, ExternalParser.check throws SecurityException, but I think it should just return false?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)