Most of the error message form the error that can be thrown by classes of java.lang.invoke are using Class.getSimpleName() which makes debugging hidden classes painful because getSimpleName() scrubs the hexadecimal number part of a hidden class name.
It also seems that the VM has a zealot stance on the InnerClass attribute verification, which i think is wrong. see https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-November/071813.html Rémi