diff options
author | 2016-07-18 08:27:23 -0700 | |
---|---|---|
committer | 2016-07-22 20:37:07 -0700 | |
commit | 166aaee6aa39c20c87113b3fcf0dcd81e0a934cb (patch) | |
tree | 70ab523f146d164ece8a0e94dbc499783005e3dc /test/545-tracing-and-jit/src/Main.java | |
parent | 115c1de1f812d380449ef89cfe50cc4fb4289275 (diff) |
ART: Fix type parameter in tests
Move Class to Class<?>, Constructor to Constructor<?>, and in
general clean up reflection.
Test: m test-art-host-run-test
Change-Id: I3a4223ee8d14d032015edf34bf27135757f7138c
Diffstat (limited to 'test/545-tracing-and-jit/src/Main.java')
-rw-r--r-- | test/545-tracing-and-jit/src/Main.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/545-tracing-and-jit/src/Main.java b/test/545-tracing-and-jit/src/Main.java index a2d51d5a8c..f365c6e6fd 100644 --- a/test/545-tracing-and-jit/src/Main.java +++ b/test/545-tracing-and-jit/src/Main.java @@ -226,7 +226,7 @@ public class Main { private static final Method getMethodTracingModeMethod; static { try { - Class c = Class.forName("dalvik.system.VMDebug"); + Class<?> c = Class.forName("dalvik.system.VMDebug"); startMethodTracingMethod = c.getDeclaredMethod("startMethodTracing", String.class, Integer.TYPE, Integer.TYPE, Boolean.TYPE, Integer.TYPE); stopMethodTracingMethod = c.getDeclaredMethod("stopMethodTracing"); |