Hi Mark, On Thu, Sep 8, 2011 at 10:33 PM, Mark Wielaard <mark@xxxxxxxxx> 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