Commit 191e70e2 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

MethodHandles: simplify findVirtual.

The code looks cleaner if we just return null from
Class.getInstanceMethod if a given method is not found, and then
throw the NSME from MethodHandles.findVirtual.

Addresses review comments on change cc44ded0.

Bug: 30550796
Test: make test-art-host
Change-Id: Id59258d3ff2a1a6a0f4b0cbc4fab4285b1703859
parent 67dfd750
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment