Dalibor Topic wrote:
Hi all,

I've implemented doubleToLongBits without requring a VMDouble method of the same name. It would let us remove one method from the VM interface for the next version, and the corresoponding native code. OK to commit?
(I'd do the equivalent patch for Float, too).

* java/lang/Double.java (doubleToLongBits): Simplified.

cheers,
dalibor topic

Hi,

if this life makes things easier for you then its a good thing. The Jikes RVM already does this at the VMDouble level, and just has a doubleAsRawLongBits magic/native method. So, I'm not sure if this change shouldn't be pushed down into VMDouble, or at least if it is done in Double the obsolete doubleToLongBits call in VMDouble should be removed.

Thanks,
Ian

Reply via email to