RFR: 8286669: Replace MethodHandle specialization with ASM in mainline [v3]
Jorn Vernee
jvernee at openjdk.java.net
Tue May 17 11:21:49 UTC 2022
On Tue, 17 May 2022 06:13:04 GMT, Rémi Forax <forax at openjdk.org> wrote:
>> Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
>>
>> BootstrapMethodError -> ExceptionInInitializerError
>
> src/java.base/share/classes/jdk/internal/foreign/abi/BindingSpecializer.java line 943:
>
>> 941: Z, B, S, C, I, J, F, D, L;
>> 942:
>> 943: static BasicType of(Class<?> cls) {
>
> This seems a duplication of ASM Type class for no good reason, Type.getOpcode(ILOAD) or Type.getOpcode(IRETURN) gives you the proper variant opcode
Didn't know about that. Neat!
-------------
PR: https://git.openjdk.java.net/jdk/pull/8685
More information about the core-libs-dev
mailing list