Re: Differences in asType between MLVM/bsdport and JDK7

2011-05-27 Thread John Rose
On May 27, 2011, at 1:21 AM, Ola Bini wrote: > I'm sure Remi said that those two things were supposed to do the same > thing. Now it seems invoker() is not as useful anymore. > > Or am I completely misunderstanding things here? They are supposed to do the same thing, and (I hope) do the same thi

Re: Differences in asType between MLVM/bsdport and JDK7

2011-05-27 Thread Ola Bini
On 2011-05-27 13.40, John Rose wrote: > On May 27, 2011, at 12:39 AM, Ola Bini wrote: > >>> Good. So what's the code that creates the target (not the >>> fallback)? It looks like it has its types denatured to Object. >>> -- John >> >> Actually, I was lying before - the code I inserted was not wh

Re: Differences in asType between MLVM/bsdport and JDK7

2011-05-27 Thread John Rose
On May 27, 2011, at 12:39 AM, Ola Bini wrote: >> Good. So what's the code that creates the target (not the fallback)? >> It looks like it has its types denatured to Object. -- John > > Actually, I was lying before - the code I inserted was not what crashes. > This is the code that crashes: Yes

Re: Differences in asType between MLVM/bsdport and JDK7

2011-05-27 Thread John Rose
On May 27, 2011, at 12:39 AM, Ola Bini wrote: > invoker(type()) Recheck your assumptions about what invoker returns: That changed. You might need to adjust: invoker(type().generic()) or invoker(type()).asType(...) Or maybe there's a type.generic() elsewhere that can go away. -- John

Re: Differences in asType between MLVM/bsdport and JDK7

2011-05-27 Thread Ola Bini
On 2011-05-27 12.59, John Rose wrote: > On May 27, 2011, at 12:26 AM, Ola Bini wrote: > >> type() is just a call site type, so that will be the >> SephObject,SThread etc. > > > Good. So what's the code that creates the target (not the fallback)? > It looks like it has its types denatured to Obj

Re: Differences in asType between MLVM/bsdport and JDK7

2011-05-27 Thread John Rose
On May 27, 2011, at 12:26 AM, Ola Bini wrote: > type() is just a call site type, so that will be the SephObject,SThread etc. Good. So what's the code that creates the target (not the fallback)? It looks like it has its types denatured to Object. -- John __

Re: Differences in asType between MLVM/bsdport and JDK7

2011-05-27 Thread Ola Bini
On 2011-05-27 12.53, John Rose wrote: > On May 27, 2011, at 12:11 AM, Ola Bini wrote: > >> I ran the compile against what's in b144, but directly from the >> JDK7 repo >> >> On 2011-05-27 12.26, John Rose wrote: >>> On May 26, 2011, at 11:38 PM, Ola Bini wrote: >>> Caused by: java.lang.Ille

Re: Differences in asType between MLVM/bsdport and JDK7

2011-05-27 Thread John Rose
On May 27, 2011, at 12:11 AM, Ola Bini wrote: > I ran the compile against what's in b144, but directly from the JDK7 repo > > On 2011-05-27 12.26, John Rose wrote: >> On May 26, 2011, at 11:38 PM, Ola Bini wrote: >> >>> Caused by: java.lang.IllegalArgumentException: target and fallback types >>>

Re: Differences in asType between MLVM/bsdport and JDK7

2011-05-27 Thread Ola Bini
I ran the compile against what's in b144, but directly from the JDK7 repo On 2011-05-27 12.26, John Rose wrote: > On May 26, 2011, at 11:38 PM, Ola Bini wrote: > >> It seems there is still a difference in how asType MHs work between what >> is in current JDK7 repo, and what you get from building

Re: Differences in asType between MLVM/bsdport and JDK7

2011-05-26 Thread John Rose
On May 26, 2011, at 11:38 PM, Ola Bini wrote: > It seems there is still a difference in how asType MHs work between what > is in current JDK7 repo, and what you get from building bsdport with > mlvm patches. Specifically, when running things with bsdport/mlvm they > work. When running on JDK7 (bui

Differences in asType between MLVM/bsdport and JDK7

2011-05-26 Thread Ola Bini
Hi, It seems there is still a difference in how asType MHs work between what is in current JDK7 repo, and what you get from building bsdport with mlvm patches. Specifically, when running things with bsdport/mlvm they work. When running on JDK7 (built about 30 minutes ago) I get this: Caused by: j