< prev index next >

test/hotspot/jtreg/compiler/valhalla/valuetypes/TestMethodHandles.java

Print this page

        

@@ -53,11 +53,10 @@
     }
 
     static {
         try {
             Class<?> clazz = TestMethodHandles.class;
-            ClassLoader loader = clazz.getClassLoader();
             MethodHandles.Lookup lookup = MethodHandles.lookup();
 
             MethodType mt = MethodType.methodType(MyValue3.class);
             test1_mh = lookup.findVirtual(clazz, "test1_target", mt);
             test2_mh = lookup.findVirtual(clazz, "test2_target", mt);
< prev index next >