A list of issues about Classfile API
Adam Sotona
adam.sotona at oracle.com
Wed Jun 28 15:33:47 UTC 2023
From: classfile-api-dev <classfile-api-dev-retn at openjdk.org> on behalf of liangchenblue at gmail.com <liangchenblue at gmail.com>
Date: Wednesday, 28 June 2023 8:33
To: classfile-api-dev <classfile-api-dev at openjdk.org>
Subject: A list of issues about Classfile API
Hello, I just looked over the Classfile API and found a few design issues, aside from simple typos addressed in https://github.com/openjdk/jdk/pull/14686:
Specific issues:
1.1. If CodeElement is only for streamable elements, then StackMapTableAttribute shouldn't be a CodeElement, as it's never delivered in code streams.
StackMapTableAttribute is not delivered, however there is a strong case where user needs to create it manually and drop to CodeBuilder (with generation disabled).
We probably forgot about this case and it is not tested, however it should work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20230628/e424b1d3/attachment.htm>
More information about the classfile-api-dev
mailing list