8016281: The SAM method should be passed to the metafactory as a MethodType not a MethodHandle
8020010: Move lambda bridge creation from metafactory and VM to compiler
Summary: JDK/metafactory component of the bridge fix and and MethodType vs. MethodHandle changes.
Reviewed-by: twisti, briangoetz, forax
Contributed-by: robert.field@oracle.com
os_family = bsd
arch = x86
arch_model = x86_64
os_arch = bsd_x86
os_arch_model = bsd_x86_64
lib_arch = amd64
compiler = sparcWorks
gnu_dis_arch = amd64
sysdefs = -D_ALLBSD_SOURCE -DSPARC_WORKS -D_GNU_SOURCE -DAMD64