Re: Using ASM for invokedynamic bytecode generation
Pekka Enberg <[email protected]> Fri, 9 Sep 2011 14:35:12 +0300
| Newsgroups | gmane.comp.java.classpath.devel |
|---|---|
| Message-ID | <CAOJsxLHQHSwZUNM8i_-Ss-EdAba0ZJVDK5ZhLP0UPB4OkNEycQ@mail.gmail.com> |
Hi Mark, On Thu, Sep 8, 2011 at 10:33 PM, Mark Wielaard <[email protected]> wrote: > I don't know much about what is needed for invoke dynamic byte code > generation. Note that java/lang/reflect/Proxy.java for example also can > generate byte code, but just does it by hand. Is such an approach > possible? It's possible, sure. I was thinking of using ASM because I suspect the generated bytecode won't be trivial. I'll see how quickly I hit limitations with generating bytecode by hand. Is a light-weight GNU Classpath specific bytecode helper API totally out of the question? Pekka