Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8155163

JVMCI: MethodHandleAccessProvider.resolveInvokeBasicTarget implementation doesn't match javadoc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: