There was some discussion on a proposal like this for Project Coin (small language changes for Java 7); see this mail thread: http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000388.html
I don't believe this is currently under consideration for Java 7. > All the runtime access methods like findVirtual, findSpecial and > findStatic should of course remain. :-) I am only talking about that > I would really like to be able to refer to javac compile time checked > method handles (and potentially method types as well). I believe it to be > very useful since in many situations you will create a method handle > and know at compile time what method you want handled. For > example you might want to return a method handle to one of > your own methods. Catching a spelling mistake at compile time is > very useful. _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev