RFR: 8341548: More concise use of classfile API [v3]
Chen Liang
liach at openjdk.org
Tue Oct 8 19:43:57 UTC 2024
On Mon, 7 Oct 2024 01:25:31 GMT, Shaojin Wen <swen at openjdk.org> wrote:
>> java.base should provide best practices for Class File API
>>
>> 1. Use fluent coding style
>> 2. Use aconst_null instead of oadConstant(null)
>> 3. use astore intead of 'storeLocal(REFERENCE'
>> 4. use aload instead of 'loadLocal(REFERENCE'
>> 5. 'lload/lstore' instead of 'loadLocal(LONG)/storeLocal(LONG)'
>
> Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:
>
> more fluent coding style
Marked as reviewed by liach (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/21355#pullrequestreview-2355382324
More information about the core-libs-dev
mailing list