Checking for 'Stack size mismatch'

Øystein Myhre Andersen o.myhre at gmail.com
Sat Mar 9 12:35:57 UTC 2024


Checking for 'Stack size mismatch' is currently done in
'java.base/jdk.internal.classfile.impl.StackMapGenerator'.
It would have been nice if this was tested earlier by Codebuilder when
the instructions was created.

For example, by keeping track of the stack size curing code building.

It is good programming practice to catch errors as early as possible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20240309/097d0070/attachment.htm>


More information about the classfile-api-dev mailing list