Re: Regression in newest MLVM build

2011-06-14 Thread John Rose
On Jun 14, 2011, at 5:21 PM, Attila Szegedi wrote: > Thanks for the clarification, John. I'll go with asFixedArity(). Great! BTW, this little method got into the API "by the skin of its teeth". Here's an interesting related exercise: If I have a variable-arity method handle (like #Arrays.asL

Re: Regression in newest MLVM build

2011-06-14 Thread Attila Szegedi
Thanks for the clarification, John. I'll go with asFixedArity(). Super excited as for the first time in history, Dynalink will get down to 0 failing testcases as OpenJDK bugs making them fail got squashed, yay! Attila. On Jun 13, 2011, at 12:51 AM, John Rose wrote: > On Jun 11, 2011, at 2:18

Re: Regression in newest MLVM build

2011-06-13 Thread John Rose
On Jun 11, 2011, at 2:18 PM, Attila Szegedi wrote: > And BTW, attempts at using invoke() or invokeExact() didn't work either… They > all behave strangely. What's the sanctioned way to pass an array explicitly > as a vararg argument? See the updated example below. The javadoc for invokeWithArgu

Re: Regression in newest MLVM build

2011-06-12 Thread Attila Szegedi
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 wro

Re: Regression in newest MLVM build

2011-06-11 Thread Rémi Forax
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( TestVa

Re: Regression in newest MLVM build

2011-06-11 Thread Attila Szegedi
And BTW, attempts at using invoke() or invokeExact() didn't work either… They all behave strangely. What's the sanctioned way to pass an array explicitly as a vararg argument? On Jun 10, 2011, at 2:34 PM, Attila Szegedi wrote: > I found a regression between Mac OS X MLVM build from April 4 and

Regression in newest MLVM build

2011-06-10 Thread Attila Szegedi
I found a regression between Mac OS X MLVM build from April 4 and June 6 (based on bsd-port jdk7-b145). Here's a minimal reproducing testcase: public class TestVarArgInvoke { public static void main(String[] args) throws Throwable { java.lang.invoke.MethodHandles.publicLookup().unreflect(