summaryrefslogtreecommitdiff
path: root/test/497-inlining-and-class-loader/src/Main.java
diff options
context:
space:
mode:
author Kevin Brodsky <kevin.brodsky@linaro.org> 2015-12-17 14:13:00 +0000
committer Kevin Brodsky <kevin.brodsky@linaro.org> 2017-06-02 16:53:23 +0100
commitf6c66c3348a2b64e4b6472827e31f711142006e3 (patch)
tree0795f80e2c07dc79904590ddeb0fbe55ba9e6176 /test/497-inlining-and-class-loader/src/Main.java
parent1656ca9e6996cb555b4463e5efd4bd7e3f4fb816 (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/497-inlining-and-class-loader/src/Main.java')
-rw-r--r--test/497-inlining-and-class-loader/src/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/497-inlining-and-class-loader/src/Main.java b/test/497-inlining-and-class-loader/src/Main.java
index 1e27e77786..01b4bcd391 100644
--- a/test/497-inlining-and-class-loader/src/Main.java
+++ b/test/497-inlining-and-class-loader/src/Main.java
@@ -121,7 +121,7 @@ class Main {
// Because we cleared dex cache entries, we will have to find
// classes again, which require to use the correct class loader
// in the presence of inlining.
- new Exception().printStackTrace();
+ new Exception().printStackTrace(System.out);
}
static Object savedResolvedMethods;