JVMCI: MethodHandleAccessProvider.resolveInvokeBasicTarget throws NPE on null first argument

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • b115

      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.

            Assignee:
            Douglas Simon
            Reporter:
            Dmitrij Pochepko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: