aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test5
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2018-09-08 15:47:38 +0900
committerchibash <chiba@javassist.org>2018-09-08 15:47:38 +0900
commit6320bc4e14350af392b285b1b1ea312673625b21 (patch)
tree8fd478f2baa4bd75048432ed3474d383131f5f04 /src/test/test5
parent0958148acbb1b737ca90f78670a4d13c6f321416 (diff)
downloadjavassist-6320bc4e14350af392b285b1b1ea312673625b21.tar.gz
javassist-6320bc4e14350af392b285b1b1ea312673625b21.zip
changes CtClass#toClass() and ClassPool#toClass() etc. to support Java 11,
in other words, java.lang.invoke.MethodHandles.Lookup.
Diffstat (limited to 'src/test/test5')
-rw-r--r--src/test/test5/DefineClassCapability.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/test5/DefineClassCapability.java b/src/test/test5/DefineClassCapability.java
new file mode 100644
index 00000000..1bb573c8
--- /dev/null
+++ b/src/test/test5/DefineClassCapability.java
@@ -0,0 +1,7 @@
+/*
+ * This is used as a capability for running CtClass#toClass().
+ */
+package test5;
+
+public class DefineClassCapability {
+}