Avoid implicit use of the platform default charset

Change-Id: Ib4e8e1681ce5c075514b5348b6a865aa6711263a
This commit is contained in:
David Ostrovsky
2017-02-18 13:30:18 +01:00
committed by David Pursehouse
parent 02bed30b38
commit abe599cb7e
6 changed files with 9 additions and 6 deletions

View File

@@ -76,7 +76,7 @@ public abstract class BuildSystem {
throw new InterruptedIOException("interrupted waiting for " + proc.toString());
}
if (status != 0) {
log.warn("build failed: " + new String(out));
log.warn("build failed: " + new String(out, UTF_8));
throw new BuildFailureException(out);
}