From ee29a07e1eb8be3dafc6ac62ef49f2d147d405cc Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Thu, 2 Nov 2017 15:28:09 -0700 Subject: ART: Fix OOME case in proxy dispatch Even just creating the java.lang.reflect.Method to pass to the handler may throw an exception. Add coverage to run-test 044. Bug: 68817306 Test: m test-art-host Change-Id: Iacf8fd679b9e8a81ff7bf7d5f6227e875ab10518 --- test/044-proxy/src/Main.java | 1 + 1 file changed, 1 insertion(+) (limited to 'test/044-proxy/src/Main.java') diff --git a/test/044-proxy/src/Main.java b/test/044-proxy/src/Main.java index 9dadb7c6ea..e44c122e3d 100644 --- a/test/044-proxy/src/Main.java +++ b/test/044-proxy/src/Main.java @@ -32,6 +32,7 @@ public class Main { FloatSelect.main(null); NativeProxy.main(args); ConstructorProxy.main(); + OOMEOnDispatch.main(args); } // The following code maps from the actual proxy class names (eg $Proxy2) to their test output -- cgit v1.2.3-59-g8ed1b