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

MemberName::resolveOrNull cause and hide NoSuchMethodErrors

XMLWordPrintable

      Current implementation of MemberName::resolveOrNull defers to MethodHandleNatives::resolve, which provokes exceptions when the member name being resolved does not exist.

      Providing a resolveOrNull on MHN would allow using MN::resolveOrNull speculatively without losing performance, while improving performance for cases which already does this.

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: