Review Request: JDK-8225462: [lworld] MethodHandle support of the static <init> factory method

Mandy Chung mandy.chung at
Fri Jun 7 22:02:19 UTC 2019

Hi Roger,

This patch fixes a few issues in java.lang.invoke implementation when 
accessing the static init factories. findStatic allows to find the 
static init factory whereas findConstructor remains only finding the 
object constructor.  This patch does some renaming w.r.t. object 
constructor vs static init factory to make distinction clear.

I ran into JDK-8225079 when I tried Constructor::newInstance with your 
patch.   I currently uncomment the validation involved 
Constructor::newInstance in StaticInitFactoryTest.



More information about the valhalla-dev mailing list