diff options
author | 2015-12-17 14:13:00 +0000 | |
---|---|---|
committer | 2017-06-02 16:53:23 +0100 | |
commit | f6c66c3348a2b64e4b6472827e31f711142006e3 (patch) | |
tree | 0795f80e2c07dc79904590ddeb0fbe55ba9e6176 /test/943-private-recursive-jit/src/Main.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/943-private-recursive-jit/src/Main.java')
-rw-r--r-- | test/943-private-recursive-jit/src/Main.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/943-private-recursive-jit/src/Main.java b/test/943-private-recursive-jit/src/Main.java index 871c63674f..09337bae26 100644 --- a/test/943-private-recursive-jit/src/Main.java +++ b/test/943-private-recursive-jit/src/Main.java @@ -129,7 +129,7 @@ public class Main { "privateSayHi", int.class, Consumer.class, Runnable.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 |