[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: ByteBufferHelper.putDouble fix

Kaffe CVS cvs-commits at kaffe.org
Mon Oct 11 16:50:40 PDT 2004


PatchSet 5269 
Date: 2004/10/11 23:46:28
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: ByteBufferHelper.putDouble fix

2004-10-11  Dalibor Topic <robilad at kaffe.org>

        * libraries/javalib/java/nio/ByteBufferHelper.java:
        Resynced with GNU Classpath.

        2004-10-10  Sven de Marothy  <sven at physto.se>

        * java/nio/ByteBufferHelper.java
        (putDouble): Use Double.toRawLongBits instead (bug #9106)

Members: 
	ChangeLog:1.2821->1.2822 
	libraries/javalib/java/nio/ByteBufferHelper.java:1.4->1.5 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2821 kaffe/ChangeLog:1.2822
--- kaffe/ChangeLog:1.2821	Mon Oct 11 21:36:48 2004
+++ kaffe/ChangeLog	Mon Oct 11 23:46:28 2004
@@ -1,3 +1,13 @@
+2004-10-11  Dalibor Topic <robilad at kaffe.org>
+
+	* libraries/javalib/java/nio/ByteBufferHelper.java:
+	Resynced with GNU Classpath.
+
+	2004-10-10  Sven de Marothy  <sven at physto.se>
+
+        * java/nio/ByteBufferHelper.java
+        (putDouble): Use Double.toRawLongBits instead (bug #9106)
+
 2004-10-11  Noa Resare  <noa at resare.com>
 
 	* libraries/clib/native/double.c:
Index: kaffe/libraries/javalib/java/nio/ByteBufferHelper.java
diff -u kaffe/libraries/javalib/java/nio/ByteBufferHelper.java:1.4 kaffe/libraries/javalib/java/nio/ByteBufferHelper.java:1.5
--- kaffe/libraries/javalib/java/nio/ByteBufferHelper.java:1.4	Tue Jun 15 17:39:09 2004
+++ kaffe/libraries/javalib/java/nio/ByteBufferHelper.java	Mon Oct 11 23:46:30 2004
@@ -327,7 +327,7 @@
 
   public static void putDouble (ByteBuffer buffer, double value, ByteOrder order)
   {
-    putLong (buffer, Double.doubleToLongBits (value), order);
+    putLong (buffer, Double.doubleToRawLongBits (value), order);
   }
   
   public static double getDouble (ByteBuffer buffer, int index, ByteOrder order)
@@ -338,6 +338,7 @@
   public static void putDouble (ByteBuffer buffer, int index,
 				double value, ByteOrder order)
   {
-    putLong (buffer, index, Double.doubleToLongBits (value), order);
+    putLong (buffer, index, Double.doubleToRawLongBits (value), order);
   }
 } // ByteBufferHelper
+




More information about the kaffe mailing list