POC javac can compile invokedynamic

Charles Oliver Nutter charles.nutter at sun.com
Fri Sep 12 20:29:04 PDT 2008


John Rose wrote:
> I just put out a patch (mlvm/langtools/meth.patch) which allows javac  
> to compile MH and invokedynamic calls.
> 
> This should make it easier to experiment with the modified JVM,  
> without resorting to direct bytecode editing or assembling.
> 
> Caveat:  I don't know whether this is the right way for javac to go  
> in the long run; please treat the present design as a tentative  
> experiment.

It will certainly make experimentation easier. I've wanted to hack on 
javac myself; looking at your patch will probably give me a leg up. It 
seems like it wouldn't be difficult to rework it into a "dynamic 
non-java" without much difficulty while still keeping everything else 
intact.

- Charlie



More information about the mlvm-dev mailing list