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/916-obsolete-jit/src/Main.java b/test/916-obsolete-jit/src/Main.java index 17a7a86..d7b32ba 100644 --- a/test/916-obsolete-jit/src/Main.java +++ b/test/916-obsolete-jit/src/Main.java
@@ -132,7 +132,7 @@ "sayHi", Runnable.class, Consumer.class); } catch (Exception e) { System.out.println("Unable to find methods!"); - e.printStackTrace(); + e.printStackTrace(System.out); return; } // Makes sure the stack is the way we want it for the test and does the redefinition. It will