RFR: 8323058: Revisit j.l.classfile.CodeBuilder API surface

Erik Gahlin egahlin at openjdk.org
Thu Feb 1 21:40:05 UTC 2024


On Fri, 5 Jan 2024 15:17:13 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

JFR part (EventInstrumentation.java) looks good.

-------------

PR Review: https://git.openjdk.org/jdk/pull/17282#pullrequestreview-1857688408


More information about the core-libs-dev mailing list