equal
deleted
inserted
replaced
33 import java.lang.invoke.*; |
33 import java.lang.invoke.*; |
34 import java.lang.reflect.Method; |
34 import java.lang.reflect.Method; |
35 import java.util.Arrays; |
35 import java.util.Arrays; |
36 |
36 |
37 public class ClassForNameTest { |
37 public class ClassForNameTest { |
38 final static String NAME = ClassForNameTest.class.getName(); |
38 static final String NAME = ClassForNameTest.class.getName(); |
39 |
39 |
40 public static void main(String[] args) throws Throwable { |
40 public static void main(String[] args) throws Throwable { |
41 { |
41 { |
42 final MethodType mt = MethodType.methodType(Class.class, String.class); |
42 final MethodType mt = MethodType.methodType(Class.class, String.class); |
43 final MethodHandle mh = MethodHandles.lookup() |
43 final MethodHandle mh = MethodHandles.lookup() |