Mantis - Resin
Viewing Issue Advanced Details
1469 minor always 11-21-06 09:21 11-27-06 09:48
ferg  
ferg  
normal  
closed  
fixed  
none    
none 3.1.0  
0001469: Hessian float
(rep by NIcolas Lalevee)

diff -ur hessian-3.0.20-src/com/caucho/hessian/io/JavaDeserializer.java hessian/src/com/caucho/hessian/io/JavaDeserializer.java
--- hessian-3.0.20-src/com/caucho/hessian/io/JavaDeserializer.java 2006-06-21 20:41:00.000000000 +0200
+++ hessian/src/com/caucho/hessian/io/JavaDeserializer.java 2006-11-17 16:47:36.000000000 +0100
@@ -340,7 +340,7 @@
     else if (long.class.equals(cl))
       return new Long(0);
     else if (float.class.equals(cl))
- return new Double(0);
+ return new Float(0);
     else if (double.class.equals(cl))
       return new Double(0);
     else

There are no notes attached to this issue.