RFR: 8323058: Revisit j.l.classfile.CodeBuilder API surface [v5]

Adam Sotona asotona at openjdk.org
Wed Mar 6 16:15:03 UTC 2024


> `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:

  added @since 23 tags for new CodeBuilder methods

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17282/files
  - new: https://git.openjdk.org/jdk/pull/17282/files/4479ccee..ec9af60f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17282&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17282&range=03-04

  Stats: 15 lines in 1 file changed: 15 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/17282.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17282/head:pull/17282

PR: https://git.openjdk.org/jdk/pull/17282


More information about the core-libs-dev mailing list