JVMCI: MethodHandleAccessProvider.resolveInvokeBasicTarget implementation doesn't match javadoc

XMLWordPrintable

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

      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.

            Assignee:
            Dmitrij Pochepko
            Reporter:
            Dmitrij Pochepko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: