Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2784

Add static grabbing of stdout/err to MockParser

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0, 1.20
    • Component/s: None
    • Labels:
      None

      Description

      MockParser allows us to simulate what happens when parsers write to stdout/stderr. In a few areas of our codebase, we try to redirect these in an attempt to make these safe for communication. Unless we can trust the parsers, communication over stdout/stderr is not safe.

      MockParser does not yet allow us to simulate a truly awful parser grabbing stdout/stderr during static initialization.

        Attachments

          Activity

            People

            • Assignee:
              tallison Tim Allison
              Reporter:
              tallison Tim Allison
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: