Am 07.02.2012 18:29, schrieb Jim Laskey:
> Worked okay for me.  So must be addressed in a later release. :-/

later than jdk7u2? oh boy. I would feel better if I could find a bug 
report that shows the problem and that is resolved. Then I would at 
least have something for the release notes. But I didn't find anything 
that looks fitting. The only one that seems to be slightly fitting was 
fixed a year ago and surely that fix is part of jdk7u2 already.

You said for
> MethodType type = MethodType.methodType(Constructor.class, Class[].class);
> MethodHandle mh = MethodHandles.lookup().findVirtual(Class.class, 
> "getDeclaredConstructor", type);
> MethodType target = MethodType.methodType(Object.class, Object.class, 
> Object.class);
> mh = mh.asType(target);
> mh.invokeWithArguments(Class.class,new Class[0]);

I probably have to wrap something... can you explain what you mean?

bye Jochen
-- 
Jochen "blackdrag" Theodorou - Groovy Project Tech Lead
blog: http://blackdragsview.blogspot.com/
german groovy discussion newsgroup: de.comp.lang.misc
For Groovy programming sources visit http://groovy-lang.org

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

Reply via email to