Hi,
The float and double cases are actually covered by the following checks in
that method:
if (size == BYTES_IN_INT) { /* handles floats */
if (size == BYTES_IN_LONG) { /* handles doubles */
Note that float and int have the same number of bytes (4), and double and
long have the same number of bytes (8).
cheers,
Mike
On Tue, 19 May 2009, Da Feng wrote:
> method private static Object cloneClass2(Object obj, RVMType type) throws OutOfMemoryError , in class
> org.jikesrvm.runtime.RuntimeEntrypoints, didn't consider float and double, is that a possible bug? I didn't
> test it, just a question.
>
> DaFENG
> Coder
> Telecommunication && Network Industry
> Pudong
> Shanghai
> China
>
>
>
>
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects_______________________________________________
Jikesrvm-core mailing list
Jikesrvm-core@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-core