Classfile API cleanup of labelToBci from CodeModel and CodeBuilder and removal of impl.LabelResolver
Brian Goetz
brian.goetz at oracle.com
Thu Aug 18 16:09:39 UTC 2022
> I propose to remove CodeBuilder::labelToBci as it is just another
> exposure of internal functionality and should not serve to users.
Worse, it is not reliable. If you have a BufferedCB, if you call
labelToBCI, you'll get an unhelpful "I don't know". And you don't know
when you have a buffered CB; you get one in certain forms of transform
composition.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20220818/492eebf7/attachment-0001.htm>
More information about the classfile-api-dev
mailing list