JVMCI: MethodHandleAccessProvider.lookupMethodHandleIntrinsic throws NPE on null argument

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: