hg: valhalla/valhalla: Use invokevirtual/invokeinterface when generating bytecode to invoke private nestmate instance method

mandy.chung at oracle.com mandy.chung at oracle.com
Sat Dec 1 00:35:19 UTC 2018


Changeset: e864fc9cb513
Author:    mchung
Date:      2018-11-30 16:35 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/e864fc9cb513

Use invokevirtual/invokeinterface when generating bytecode to invoke private nestmate instance method
Summary: Prior to nestmate support, invocation of lambda is via REF_invokespecial method
handle for invocation of the lambda body.  invokevirtual/invokeinterface should be used
instead as the lambda proxy classes are defined as a dynamic nestmate.
Reviewed-by: dholmes, lfoltan

! src/java.base/share/classes/java/lang/invoke/AbstractValidatingLambdaMetafactory.java




More information about the valhalla-dev mailing list