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

JVMCI: MethodHandleAccessProvider.resolveInvokeBasicTarget throws NPE on null first argument

XMLWordPrintable

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

            dnsimon Douglas Simon
            dpochepk Dmitrij Pochepko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: