According to javadoc, MethodHandleAccessProvider.resolveInvokeBasicTarget(JavaConstant methodHandle, boolean forceBytecodeGeneration) return ResolvedJavaMethod or null(in case if invocation target is not available at this time).
Current implementation throws NPE In case of wrong 1st parameter(null or "not methodHandle").
Method behaviour should be changed or javadoc modified accordingly.
Current implementation throws NPE In case of wrong 1st parameter(null or "not methodHandle").
Method behaviour should be changed or javadoc modified accordingly.