JEP Draft: Class-File API (Second Preview)
Adam Sotona
adam.sotona at oracle.com
Thu Feb 1 09:42:09 UTC 2024
From: Paul Sandoz <paul.sandoz at oracle.com>
AFAICT the only substantial change to the text is the addition of the history section?
Yes, added history and minor snippets adjustments according to the CodeBuilder (proposed) changes.
Class-File API was proposed as a preview feature by JEP 457 and delivered in JDK 22 .
->
The Class-File API...
Fixed, thanks.
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?
Yes, I’ll describe it more precisely, thanks. BTW it is still in progress: https://bugs.openjdk.org/browse/JDK-8323058
- Small API adjustments to better match JVM Specification
->
- Minor API updates for improved alignment with the JVM specification. e.g., ?
Fixed, thanks.
Implementation-wise were there any performance improvements? Or improvements to the validation of class files?
Yes, performance improvements (with specific conversion use cases in mind) are continuous process. I would have to investigate the log which performance improvements already fell into 22.
ClassModel::verify implementation is planned to include extended class validation (in progress: https://bugs.openjdk.org/browse/JDK-8320396).
Thanks,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20240201/37335706/attachment-0001.htm>
More information about the classfile-api-dev
mailing list