< prev index next > test/jdk/java/lang/invoke/VarHandles/VarHandleBaseTest.java
Print this page
@Override
VarHandle get() {
return vh;
}
+
+ public String toString() {
+ return super.toString() + ", vh:" + vh;
+ }
}
static class MethodHandleAccessTestCase extends AccessTestCase<Handles> {
final VarHandle vh;
final VarHandleToMethodHandle f;
@Override
Handles get() throws Exception {
return new Handles(vh, f);
}
+
+ public String toString() {
+ return super.toString() + ", vh:" + vh + ", f: " + f;
+ }
}
static void testTypes(VarHandle vh) {
List<Class<?>> pts = vh.coordinateTypes();
< prev index next >