RFR: 8163373: Rewrite GenerateJLIClassesPlugin to avoid reflective calls into java.lang.invoke

Claes Redestad claes.redestad at oracle.com
Tue Aug 9 17:08:19 UTC 2016


MemberName defines the implementation of JavaLangInvokeAccess for some reason, so that's unfortunately necessary. 

/Claes

Vladimir Ivanov <vladimir.x.ivanov at oracle.com> skrev: (9 augusti 2016 19:00:36 CEST)
>Why did you put generateDMHClassBytes()/generateConcreteBMHClassBytes()
>
>in MemberName?
>
>Otherwise, looks fine.
>
>Best regards,
>Vladimir Ivanov
>
>On 8/9/16 8:34 AM, Claes Redestad wrote:
>> Hi,
>>
>> please review this patch to replace reflection calls into
>> java.lang.invoke from GenerateJLIClassesPlugin with an internal API
>> exported to jdk.jlink via JavaLangInvokeAccess/SharedSecrets.
>>
>> Webrev: http://cr.openjdk.java.net/~redestad/8163373/webrev.01/
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8163373
>>
>> Thanks!
>>
>> /Claes
>>
>>


More information about the core-libs-dev mailing list