From 3d7754e269ec84604d43be97a684bb26b519c6b9 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 23 Mar 2021 06:01:50 +0100 Subject: [testing] wahey, ecj testing works again, and now we can test JDK16 features in it! --- test/stubs/java/lang/Record.java | 3 +++ test/stubs/java/lang/runtime/ObjectMethods.java | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 test/stubs/java/lang/Record.java create mode 100644 test/stubs/java/lang/runtime/ObjectMethods.java (limited to 'test/stubs/java') diff --git a/test/stubs/java/lang/Record.java b/test/stubs/java/lang/Record.java new file mode 100644 index 00000000..e985bb45 --- /dev/null +++ b/test/stubs/java/lang/Record.java @@ -0,0 +1,3 @@ +package java.lang; + +public abstract class Record {} diff --git a/test/stubs/java/lang/runtime/ObjectMethods.java b/test/stubs/java/lang/runtime/ObjectMethods.java new file mode 100644 index 00000000..519563ae --- /dev/null +++ b/test/stubs/java/lang/runtime/ObjectMethods.java @@ -0,0 +1,12 @@ +package java.lang.runtime; + +// import java.lang.invoke.MethodHandle; +// import java.lang.invoke.MethodHandles; +// import java.lang.invoke.TypeDescriptor; + +public class ObjectMethods { +// public static Object bootstrap(MethodHandles.Lookup lookup, String methodName, TypeDescriptor type, Class recordClass, String names, MethodHandle... getters) throws Throwable { + public static Object bootstrap(Object lookup, String methodName, Object type, Class recordClass, String names, Object... getters) throws Throwable { + return null; + } +} -- cgit