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

JVMCI: MethodHandleAccessProvider.lookupMethodHandleIntrinsic throws NPE on null argument

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b115

      Description

      According to javadoc, MethodHandleAccessProvider.lookupMethodHandleIntrinsic(ResolvedJavaMethod method) should return null if the method is not an instrinsic processed by this interface.
      Hiowever, current implementation (HotSpotMethodHandleAccessProvider.lookupMethodHandleIntrinsic) throws NPE on null argument. Method behaviour should be fixed or, alternatively, javadoc updated respectively.

        Attachments

          Activity

            People

            • Assignee:
              dnsimon Douglas Simon
              Reporter:
              dpochepk Dmitrij Pochepko
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: