Classfile API tracking RFEs
Adam Sotona
adam.sotona at oracle.com
Tue Mar 7 14:40:41 UTC 2023
Hi,
Some of the proposed RFEs fall beyond the initial Classfile API pull request and we should probably start filling them to JBS or find another way to track them.
Here are listed citations (for temporary tracking purpose) what I’ve collected from the feedback:
1. switch seems the one instruction for which an high-level variant (like trying) could be useful, as generating code for that can be quite painful.
2. I noticed that this pattern of start/endScope is here, but also in ExceptionCatch, LocalVariable and LocalVariableType. Consider using a common interface for "instructions that are associated with a range".
3. Should we add a helper method on CodeBuilder that does the new + dup + invoke special dance?
4. Another issue with the model is ClassTypeSig does not validate its input.
Thanks,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20230307/2bb02344/attachment.htm>
More information about the classfile-api-dev
mailing list