[External] : Re: Classfile API cleanup of labelToBci from CodeModel and CodeBuilder and removal of impl.LabelResolver

Adam Sotona adam.sotona at oracle.com
Fri Aug 19 07:01:24 UTC 2022



From: Michael van Acken <michael.van.acken at gmail.com>
This sounds interesting.  Right now I am staying away from the higher level entry points,
because of their WIP implementation -- as I found out when I tried to use ifThenElse().
`trying` doesn't seem to support finally right now.

CodeBuilder.CatchBuilder::catchingAll(…) represents finally block

Having access to a BlockCodeBuilder instance and its isEmpty would solve my
problem.  Is this something that can be done from the public API?

CodeBuilder::block(…)

-- mva



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20220819/6ee8e85c/attachment.htm>


More information about the classfile-api-dev mailing list