GateNLP / gatelib-interaction

Various bits and pieces for interacting between GATE plugins and other software via command line or microservice
Apache License 2.0
0 stars 0 forks source link

Investigate the test failure in TestProcessSimple #11

Closed johann-petrak closed 4 years ago

johann-petrak commented 5 years ago

We did not get this previously (maybe earlier Java releases?)

But now, the string returned from the process is padded with zero characters up to a size that looks like it could be the size of the whole ByteArray buffer, not the actual size of the returned string.

johann-petrak commented 4 years ago

This appears to be fixed by implementing and using the line-by-line stream copier