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

JVMCI: MethodHandleAccessProvider.resolveLinkToTarget throws NPE/IAE on null/wrong argument

XMLWordPrintable

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

      According to javadoc MethodHandleAccessProvider.resolveLinkToTarget(JavaConstant) returns ResolvedJAvaMethod or null.
      However, current implementation throws NPE in case of null argument and IllegalArgumentException in case of non-MethodHandle argument. Method or javadoc should be modified to match each other.

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

              Created:
              Updated:
              Resolved: