| commit | f6c66c3348a2b64e4b6472827e31f711142006e3 | [log] [tgz] |
|---|---|---|
| author | Kevin Brodsky <kevin.brodsky@linaro.org> | Thu Dec 17 14:13:00 2015 +0000 |
| committer | Kevin Brodsky <kevin.brodsky@linaro.org> | Fri Jun 02 16:53:23 2017 +0100 |
| tree | 0795f80e2c07dc79904590ddeb0fbe55ba9e6176 | |
| parent | 1656ca9e6996cb555b4463e5efd4bd7e3f4fb816 [diff] [blame] |
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
diff --git a/test/050-sync-test/src/ThreadDeathHandler.java b/test/050-sync-test/src/ThreadDeathHandler.java index 0a7437d..58061f8 100644 --- a/test/050-sync-test/src/ThreadDeathHandler.java +++ b/test/050-sync-test/src/ThreadDeathHandler.java
@@ -27,7 +27,7 @@ } public void uncaughtException(Thread t, Throwable e) { - System.err.println("Uncaught exception " + mMyMessage + "!"); - e.printStackTrace(); + System.out.println("Uncaught exception " + mMyMessage + "!"); + e.printStackTrace(System.out); } }