RFR: 8341199: Use ClassFile's new API loadConstant(int)
Chen Liang
liach at openjdk.org
Mon Sep 30 14:09:36 UTC 2024
On Mon, 30 Sep 2024 12:38:47 GMT, Shaojin Wen <swen at openjdk.org> wrote:
>> The new API loadConstant(int) can shorten the calling path and can replace ldc when the parameter is of int/Integer type.
>
> I think loadConstant should be renamed to ldc
@wenshao You can integrate this patch early even though it's much less than 24 hours. I have another patch that removes `ldc(ConstantDesc)`. It depends on your patch being integrated first.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21259#issuecomment-2383313803
More information about the core-libs-dev
mailing list