summaryrefslogtreecommitdiff
path: root/test/952-invoke-custom/src/TestInvocationKinds.java
diff options
context:
space:
mode:
author Orion Hodson <oth@google.com> 2018-02-27 12:42:11 +0000
committer Orion Hodson <oth@google.com> 2018-03-08 16:55:17 +0000
commita5dca524abcbf55c3cfa778e3b72aa1efd1e9813 (patch)
tree77f128dd2fcab181b6a81831ec350fc2d3cc1e62 /test/952-invoke-custom/src/TestInvocationKinds.java
parentd395e73e9ed7c3fb5e8a48c3f3141a8997d4a82b (diff)
ART: Update invoke-custom implementation
Adds type checking for bootstrap arguments and support for variable arity bootstrap arguments. Adds tests for malformed bootstrap arguments, variable arity bootstrap arguments, and invocation arguments to passed to the CallSite's MethodHandle. Removes unnecessary wrapping when j.l.Error's are raised during BSM invocation. Removes BSM argument type checking from verifier. This is now performed during invocation. Bug: 73927525 Test: art/test/run-test --host 952-invoke-custom Change-Id: Id43226edad64ad9812e4ba1a069dfb70b8196dad
Diffstat (limited to 'test/952-invoke-custom/src/TestInvocationKinds.java')
-rw-r--r--test/952-invoke-custom/src/TestInvocationKinds.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/952-invoke-custom/src/TestInvocationKinds.java b/test/952-invoke-custom/src/TestInvocationKinds.java
index 7b88c18c66..f743bef158 100644
--- a/test/952-invoke-custom/src/TestInvocationKinds.java
+++ b/test/952-invoke-custom/src/TestInvocationKinds.java
@@ -173,6 +173,7 @@ class TestInvocationKinds extends TestBase {
static class Widget {
int value;
+
public Widget(int value) {}
}