local variable creation and manipulation

Mark Roberts markro at cs.washington.edu
Tue Nov 12 23:45:35 UTC 2024


My name is Mark Roberts and I work in the University of Washington PLSE
department.  We have several tools the currently use BCEL to read and
modify class files. I would love to replace that with the new
java.lang.classfile package – and throw away hundreds of line of code to
deal with updating and maintaining StackMaps!  I have only recently started
to study the package so I may be missing somethings completely and please
let me know if that is the case.



My concern is that I don’t see a high level interface for creating and then
using new local variables.  I would like to be able to create a method
scoped or a blocked scoped local variable and then be able to refer to it
symbolically in the various byte code builders.



Thank you,

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20241112/766b6ea6/attachment.htm>


More information about the classfile-api-dev mailing list