From 166aaee6aa39c20c87113b3fcf0dcd81e0a934cb Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 18 Jul 2016 08:27:23 -0700 Subject: 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 --- test/605-new-string-from-bytes/src/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/605-new-string-from-bytes/src/Main.java') diff --git a/test/605-new-string-from-bytes/src/Main.java b/test/605-new-string-from-bytes/src/Main.java index 7dc0c15d99..5bd6c5d7e5 100644 --- a/test/605-new-string-from-bytes/src/Main.java +++ b/test/605-new-string-from-bytes/src/Main.java @@ -20,7 +20,7 @@ import java.lang.reflect.Method; public class Main { public static void main(String[] args) throws Exception { - Class c = Class.forName("java.lang.StringFactory"); + Class c = Class.forName("java.lang.StringFactory"); Method m = c.getDeclaredMethod("newStringFromBytes", byte[].class, int.class); // Loop over allocations to get more chances of doing GC while in the -- cgit v1.2.3-59-g8ed1b