Bug in CheckMethodAdapter
I got the following exception:
Caused by: java.lang.IllegalArgumentException: Invalid handle name (must be a valid unqualified name): <init>
at com.github.fromage.quasi.asm.util.CheckMethodAdapter.checkMethodIdentifier (CheckMethodAdapter.java:1282)
at com.github.fromage.quasi.asm.util.CheckMethodAdapter.checkLdcConstant (CheckMethodAdapter.java:1201)
at com.github.fromage.quasi.asm.util.CheckMethodAdapter.visitInvokeDynamicInsn (CheckMethodAdapter.java:780)
at com.github.fromage.quasi.asm.tree.InvokeDynamicInsnNode.accept (InvokeDynamicInsnNode.java:85)
at com.github.fromage.quasi.asm.tree.InsnList.accept (InsnList.java:145)
Due to a perfectly valid bootstrap method:
0: #117 invokestatic java/lang/invoke/LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
#118 (Ljava/lang/Object;)Ljava/lang/Object;
#122 newinvokespecial net/redpipe/example/wiki/keycloakJooq/jooq/tables/pojos/Pages."<init>":(Lio/vertx/core/json/JsonObject;)V
#124 (Lio/vertx/core/json/JsonObject;)Lnet/redpipe/example/wiki/keycloakJooq/jooq/tables/pojos/Pages;
I guess this one is due to passing a Pages::new
lambda to a method.