Review Request: JDK-8225462: [lworld] MethodHandle support of the static <init> factory method
Mandy Chung
mandy.chung at oracle.com
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.
Webrev:
http://cr.openjdk.java.net/~mchung/valhalla/webrevs/lw2/8225462/webrev.00/
Mandy
More information about the valhalla-dev
mailing list