summaryrefslogtreecommitdiff
path: root/test/2277-methodhandle-invokeexact/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/2277-methodhandle-invokeexact/build.py')
-rw-r--r--test/2277-methodhandle-invokeexact/build.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/2277-methodhandle-invokeexact/build.py b/test/2277-methodhandle-invokeexact/build.py
new file mode 100644
index 0000000000..d71324961b
--- /dev/null
+++ b/test/2277-methodhandle-invokeexact/build.py
@@ -0,0 +1,4 @@
+def build(ctx):
+ # To allow private interface methods.
+ ctx.default_build(javac_source_arg="17",
+ javac_target_arg="17")