Regression in newest MLVM build
Attila Szegedi
szegedia at gmail.com
Sun Jun 12 13:23:06 PDT 2011
It also works with Stephan's 2011_05_02 MLVM build; it's only 2011_06_09 that breaks this behavior.
Attila.
On Jun 11, 2011, at 2:32 PM, Rémi Forax wrote:
> 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);
>> }
>> }
>> }
>
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110612/887de347/attachment.html
More information about the mlvm-dev
mailing list