diff options
author | 2015-12-17 14:13:00 +0000 | |
---|---|---|
committer | 2017-06-02 16:53:23 +0100 | |
commit | f6c66c3348a2b64e4b6472827e31f711142006e3 (patch) | |
tree | 0795f80e2c07dc79904590ddeb0fbe55ba9e6176 /test/570-checker-osr/src/DeoptimizationController.java | |
parent | 1656ca9e6996cb555b4463e5efd4bd7e3f4fb816 (diff) |
Tests: never use System.err
Always print stack traces to System.out, and replace all
System.err.println()'s with System.out.println().
Follow-up of https://android-review.googlesource.com/#/c/187020/ and
https://android-review.googlesource.com/#/c/407032/.
Test: m test-art-host
m test-art-target
Change-Id: I9ab9cd955a8db25b2ec6673790e5bc924f62c88a
Diffstat (limited to 'test/570-checker-osr/src/DeoptimizationController.java')
-rw-r--r-- | test/570-checker-osr/src/DeoptimizationController.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/570-checker-osr/src/DeoptimizationController.java b/test/570-checker-osr/src/DeoptimizationController.java index 907d133d3b..e272607ec4 100644 --- a/test/570-checker-osr/src/DeoptimizationController.java +++ b/test/570-checker-osr/src/DeoptimizationController.java @@ -53,7 +53,7 @@ public class DeoptimizationController { throw new IllegalStateException("Not tracing."); } } catch (Exception exc) { - exc.printStackTrace(System.err); + exc.printStackTrace(System.out); } finally { if (tempFile != null) { tempFile.delete(); @@ -68,7 +68,7 @@ public class DeoptimizationController { throw new IllegalStateException("Still tracing."); } } catch (Exception exc) { - exc.printStackTrace(System.err); + exc.printStackTrace(System.out); } } |