As previously discussed (late March of this year), the JSR 292 draft spec. uses 
the word "generic" in a different sense from the Java language.  This was a 
mistake, and we are going to back off from that term.  Instead of saying 
mh.invokeGeneric(x,y) the spelling will be simply mh.invoke(x,y).

Likewise, lesser-known methods like genericMethodType will (almost certainly) 
be renamed to something else like generalMethodType.  The thing called 
MHs.genericInvoker will be (by analogy) just MHs.invoker.

This means that if you are fond of calling ".generic()" on your method types to 
turn all the objects to Object, you'll have to change your code to say 
".general()".  The old names will be deprecated for a short while.

Best wishes,
-- John
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to