Yet Another bug

Martin C. Martin martin at martincmartin.com
Wed May 13 06:21:08 PDT 2009


I've seen two bugs like this before, and they both had the same cause: 
assuming the second argument is at index 1 (for static methods, 2 for 
instance methods).  If a method takes a double and something else (e.g. 
an int), then accessing the double works fine, but accessing the int 
gives a verify error.

Maybe that's completely unrelated to this problem, but I thought I'd 
mention it just in case.

Best,
Martin

Rémi Forax wrote:
> John Rose a écrit :
>> On May 12, 2009, at 4:25 PM, Rémi Forax wrote:
>>
>>   
>>>> And it works like a charm :)
>>>>
>>>>       
>>> untile the next bug ...
>>> The following code crash.
>>> It doesn't crash if there is only one invokedynamic.
>>>     
>> Perhaps it's a problem with converting the floating-point argument?  I  
>> don't think my regression tests get into float and double yet...   
>> Well, adding a test doesn't crash anything.  I'll look into it.
>>   
> 
> I think it's more complex than just a floating conversion.
> As I said  one invokedynamic  with  a  double  works, but two doesn't work.
> 
>> -- John
>>   
> Rémi
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev



More information about the mlvm-dev mailing list