ForkParser is unfriendly to code that prints things to its output
-----------------------------------------------------------------

                 Key: TIKA-832
                 URL: https://issues.apache.org/jira/browse/TIKA-832
             Project: Tika
          Issue Type: Bug
    Affects Versions: 1.0
            Reporter: Jerome Lacoste
            Priority: Minor
         Attachments: 
TIKA-832_ForkClient_wait_a_bit_and_empty_the_initial_buffers.patch, 
TIKA-832_ForkClient_wait_a_bit_when_asked_to_empty_the_initial_buffers.patch

When given a java command that causes java to write something to the output, 
like a debugging instruction, tika fails.

I attach 2 patches that solve the issue in different way. Both use the same 
unit test

But I don't know it this is worth the complexity. At least to start a 
discussion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to