diff options
author | Andreas Gampe <agampe@google.com> | 2017-11-02 15:28:09 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-11-02 19:52:56 -0700 |
commit | ee29a07e1eb8be3dafc6ac62ef49f2d147d405cc (patch) | |
tree | 11c221884f5a66597e5a6fa1359f39dac7bef008 /test/044-proxy/src/Main.java | |
parent | ab13432123bc22c997f9dbb12596f05ce782561a (diff) |
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
Diffstat (limited to 'test/044-proxy/src/Main.java')
-rw-r--r-- | test/044-proxy/src/Main.java | 1 |
1 files changed, 1 insertions, 0 deletions
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 |