tt4j icon indicating copy to clipboard operation
tt4j copied to clipboard

StreamGobbler reading stderr needs to be revised

Open reckart opened this issue 10 years ago • 0 comments

Original issue 5 created by reckart on 2011-06-03T22:46:27.000Z:

In 1.0.15, data written by TreeTagger to strerr is collected in a StringBuilder and printed to System.out if an exception occurs in the gobbler. This is not optimal. Improvements should include:

  • make sure that buffer for TreeTagger stderr does not grow indefinitely
  • do not print to System.out
  • if TreeTagger has written a message to stderr, display it in case of any failure, not only when the gobbler gets an exception

reckart avatar Mar 14 '15 19:03 reckart