Try/catch/finally builder

Paul Sandoz paul.sandoz at oracle.com
Wed Aug 24 18:01:54 UTC 2022



> On Aug 24, 2022, at 1:50 AM, Adam Sotona <adam.sotona at oracle.com> wrote:
> 
> It looks good to me (I assume CodeBuilder::trying2 will replace CodeBuidler::trying)
>  

Yes.


> Just one implementation comment:
> For successful synchronous stack tracking it is critical to always declare exceptionCatch or exceptionCatchAll before the related handler block starts (before the handler Label mentioned in the exceptionCatch is resolved).

Ah! I will move the exception*() calls to be above the associated <block>.start() and operate on the parent block.

Paul.



More information about the classfile-api-dev mailing list