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

JVMCI: MethodHandleAccessProvider.lookupMethodHandleIntrinsic throws NPE on null argument

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • b115

      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.

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

              Created:
              Updated:
              Resolved: