Re: Truffle and mlvm

2014-09-05 Thread Ali Ebrahimi
ating a bunch of bytecodes (like we do now) nor relying on > partial evaluation + code generation (like TruffleSOM does). > > How this relate to Project Valhalla's Type Specialization effort? Ali Ebrahimi Rémi > ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Re: Signature of MethodHandleInfo.reflectAs is not specific enough

2014-03-01 Thread Ali Ebrahimi
Hi, On Sat, Mar 1, 2014 at 12:16 AM, John Rose wrote: > On Feb 25, 2014, at 3:13 AM, Ali Ebrahimi > wrote: > > I know, this is too late, but I want to share my suggestion: > > public T reflectAs(Class super T> expected, MethodHandles.Lookup lookup) > > > Isn&#x

Re: Signature of MethodHandleInfo.reflectAs is not specific enough

2014-02-25 Thread Ali Ebrahimi
sm = reflectAs(Method.class, MethodHandles.lookup());//fails Regards, Ali Ebrahimi On Mon, Nov 11, 2013 at 1:59 AM, Remi Forax wrote: > The is a stupid issue with the signature of MethodHandleInfo.reflectAs, > j.l.r.Field, Method or Constructor implement two interfaces Memb

Re: Signature of MethodHandleInfo.reflectAs is not specific enough

2013-11-11 Thread Ali Ebrahimi
AM, Peter Levart wrote: > On 11/11/2013 02:24 AM, Ali Ebrahimi wrote: > > This is another workaround: > > public R reflectAs(Class > expected, Lookup lookup); > > info.reflectAs(Member.class, lookup);//works > info.reflectAs(AnnotatedElement.class, lookup);//works

Re: Signature of MethodHandleInfo.reflectAs is not specific enough

2013-11-10 Thread Ali Ebrahimi
This is another workaround: public R reflectAs(Class expected, Lookup lookup); info.reflectAs(Member.class, lookup);//works info.reflectAs(AnnotatedElement.class, lookup);//works info.reflectAs(Member.class, lookup);//works info.reflectAs(AnnotatedElement.class, lookup);//works info.reflectAs(

Re: 15.28.1 needs some polish ?

2013-02-24 Thread Ali Ebrahimi
arity n+1 class Test { void m() { } void m(String s) { } static U u(Sam1 s) { return null; } static void testUnbound() { Test s = u(Test::m); } Best Regards, Ali Ebrahimi On Wed, Feb 20, 2013 at 4:43 AM, Dan Smith wrote: > On Feb 17, 2013, at 5:06 AM, Srikanth S Adayapa

Re: compiler accepts incompatible method reference for Sam conversion

2011-07-13 Thread Ali Ebrahimi
Hi Remi, On 7/13/11, Rémi Forax wrote: > On 07/13/2011 06:01 AM, Ali Ebrahimi wrote: > > Hi Ali, > > ... >> MethodHandle mh = >> MethodHandles.lookup().findStatic(MethodHandleTest.class, >> "sTest", MethodType.methodType(void.class,int.class,int.c

Fwd: Tail call optimization in Java JDK 8?

2010-10-11 Thread Ali Ebrahimi
I forward this to mlvm-dev list. From: Tarek Chammah Date: Tue, Oct 5, 2010 at 3:59 PM Subject: Tail call optimization in Java JDK 8? To: mlvm-dev@openjdk.java.net Hi :: Under current plans, the current dev efforts will be split off into two separate releases. This will benefit features that a

hg: mlvm/mlvm/jdk: meth, indy: update to current RI review requests

2010-09-14 Thread Ali Ebrahimi
eError(); err.initCause(ex); throw err; } } } this line does not return new object? Best Regards, Ali Ebrahimi ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev