micro-RFE for java.dyn

Rémi Forax forax at univ-mlv.fr
Fri Nov 5 21:03:07 UTC 2010

Le 05/11/2010 15:57, assembling signals a écrit :
> Hello, everyone!
> Sorry, not sure if it's the right mailinglist, here [ http://mail.openjdk.java.net/mailman/listinfo ] there were no mailinglist listed for java.dyn.

This is the wrong mailing list, the right one is mlvm

> I have a little RFE for java.dyn.Linkage.
> Could it be possible to add another "registerBootstrapMethod(...)" method which would accept Runnable as parameter instead of String.

This class disappears in latest update.
The spec was updated to allow to specify a boostrap method for each 

Anyway, I think I don't really understand what you want to do with your 
The boostrap method must return a CallSite and Runnable.run() return void.

> This would have two litte advantages:
> 1) If would be refactoring-proof (normally, renaming of bootstrap method would depend on also renaming the string argument);
> 2) There would be no warning about some unused private static method.

If there is a way to express constant method handles in Java, you also 
have the these two properties.
We're working on that !

> Best regards,
> Ivan G S


More information about the core-libs-dev mailing list