MethodHandleAccessProvider.resolveInvokeBasicTarget(JavaConstant methodHandle, boolean forceBytecodeGeneration); behavior and javadoc differs.
current implementation throws NPE in case JavaConstant doesn't represent MethodHandle, but any other object.
According to javadoc, this method throws NPE only in case JavaConstant is null.
current implementation throws NPE in case JavaConstant doesn't represent MethodHandle, but any other object.
According to javadoc, this method throws NPE only in case JavaConstant is null.