Temporary(?) fix, follows r1050364
(r1050364 was for a blocking deadlock issue, see https://issues.apache.org/jira/browse/OFBIZ-4065 - OFBIZ-4065) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050367 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -250,6 +250,7 @@ public final class UtilIO {
|
||||
char[] buf = new char[4096];
|
||||
int r;
|
||||
while ((r = reader.read(buf, 0, 4096)) != -1) {
|
||||
if (r == 0) break;
|
||||
sb.append(buf, 0, r);
|
||||
}
|
||||
return filterLineEndings(sb).toString();
|
||||
|
||||
Reference in New Issue
Block a user