RFR: 8323058: Revisit j.l.classfile.CodeBuilder API surface [v4]
Chen Liang
liach at openjdk.org
Wed Mar 6 15:34:45 UTC 2024
On Wed, 6 Mar 2024 15:00:09 GMT, Adam Sotona <asotona at openjdk.org> wrote:
>> `java.lang.classfile.CodeBuilder` contains more than 230 API methods.
>> Existing ClassFile API use cases proved the concept one big CodeBuilder is comfortable. However there are some redundancies, glitches in the naming conventions, some frequently used methods are hard to find and some methods have low practical use.
>>
>> This patch revisits the `CodeBuilder` API methods and introduces some changes.
>>
>> For more details, please, visit the [CSR ](https://bugs.openjdk.org/browse/JDK-8323067)
>>
>> Please review.
>>
>> Thank you,
>> Adam
>
> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
>
> fixed ClassFile API use in new tests
Looking at 8326836 #18030, we might need `@since` tags on the new API methods.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17282#issuecomment-1981141337
More information about the hotspot-jfr-dev
mailing list