RFR: 8341199: Use ClassFile's new API loadConstant(int)
Shaojin Wen
swen at openjdk.org
Mon Sep 30 11:05:10 UTC 2024
The new API loadConstant(int) can shorten the calling path and can replace ldc when the parameter is of int/Integer type.
-------------
Commit messages:
- use loadConstant instead of ldc
Changes: https://git.openjdk.org/jdk/pull/21259/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21259&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8341199
Stats: 9 lines in 4 files changed: 0 ins; 0 del; 9 mod
Patch: https://git.openjdk.org/jdk/pull/21259.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21259/head:pull/21259
PR: https://git.openjdk.org/jdk/pull/21259
More information about the core-libs-dev
mailing list