JEP Draft: Class-File API (Second Preview)

Paul Sandoz paul.sandoz at oracle.com
Tue Jan 30 23:55:46 UTC 2024


AFAICT the only substantial change to the text is the addition of the history section?

Class-File API was proposed as a preview feature by JEP 457 and delivered in JDK 22 . 
->
The Class-File API...


I think it would be useful to be a little more descriptive on the changes

> - CodeBuilder API surface consolidation

I am guessing this is removing redundant method, or vestiges from early designs, from the builder and using a more consistent pattern for method names and signatures?  


- Small API adjustments to better match JVM Specification
->
- Minor API updates for improved alignment with the JVM specification. e.g., ?


Implementation-wise were there any performance improvements? Or improvements to the validation of class files?

Paul.

> On Jan 30, 2024, at 6:35 AM, Adam Sotona <adam.sotona at oracle.com> wrote:
> 
> Hi,
> Here is a JEP draft of Class-File API (Second Preview):
> https://bugs.openjdk.org/browse/JDK-8324965
>  Any suggestions and comments are welcome.
>  Thanks,
> Adam




More information about the classfile-api-dev mailing list