Few questions about invokeDynamic

Christian Thalinger christian.thalinger at oracle.com
Tue Nov 9 09:27:31 PST 2010


On Nov 9, 2010, at 6:08 PM, Rémi Forax wrote:
>> Thanks, that helps a lot!  But the int ->  float/double stuff does  
>> not
>> work:
>>
>> Exception in thread "main" java.lang.ClassCastException:
>> java.lang.Integer cannot be cast to java.lang.Float
>>          at
>> sun.dyn.util.ValueConversions.unboxFloat(ValueConversions.java:85)
>>          at sun.dyn.ToGeneric$Adapter.return_F(ToGeneric.java:399)
>>          at sun.dyn.ToGeneric$A1.invoke_F(ToGeneric.java:649)
>>          at ConvertTest.main(ConvertTest.java:48)
>>
>> -- Christian
>>
>> PS: I hate when the mailing list server is so slow...
>>
>
> Yes, I have seen that.
> In my opinion, the bug is not in my code but in Java classes of  
> package
> sun.dyn.


Yeah, it seems so.  John, can we fix that easily?  -- Christian


More information about the mlvm-dev mailing list