Regression in newest MLVM build

Rémi Forax forax at univ-mlv.fr
Sat Jun 11 14:32:57 PDT 2011


It works with jdk7 b144,
no way to access to b145 due to java.net maintenance.

Rémi

On 06/11/2011 11:18 PM, Attila Szegedi wrote:
> public class TestVarArgInvoke {
> public static void main(String[] args) throws Throwable {
>     java.lang.invoke.MethodHandles.publicLookup().unreflect(
>         TestVarArgInvoke.class.getMethod("x", int.class, 
> int[].class)).invokeWithArguments(
> new TestVarArgInvoke(), 1, new int[] { 2 });
>   }
>
> public void x(int a, int... b) {
>     System.out.println(a);
> for(int x: b) {
>       System.out.println(x);
>     }
>   }
> }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110611/5d345231/attachment.html 


More information about the mlvm-dev mailing list