commit | 166aaee6aa39c20c87113b3fcf0dcd81e0a934cb | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Jul 18 08:27:23 2016 -0700 |
committer | Andreas Gampe <agampe@google.com> | Fri Jul 22 20:37:07 2016 -0700 |
tree | 70ab523f146d164ece8a0e94dbc499783005e3dc | |
parent | 115c1de1f812d380449ef89cfe50cc4fb4289275 [diff] [blame] |
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
diff --git a/test/489-current-method-regression/src/Main.java b/test/489-current-method-regression/src/Main.java index 7d102f5..285c41d 100644 --- a/test/489-current-method-regression/src/Main.java +++ b/test/489-current-method-regression/src/Main.java
@@ -23,7 +23,7 @@ if (a == 42) { // The class loading will be seen as dead code by // the optimizer. - Class c = Main.class; + Class<?> c = Main.class; } return new Main().bar(); }