all groups > vj# > may 2004 >
You're in the

vj#

group:

Serialization of double in J#


Serialization of double in J# Vinay Chopra
5/14/2004 5:41:04 AM
vj#:
Hi

java.lang.Double cannot be serialized because it does not have a default public constructor

What can I do to serialized it

RE: Serialization of double in J# sadar.vjcr NO[at]SPAM online.microsoft.com
7/1/2004 8:53:30 AM

I assume that you are talking about XML serialization of java.lang.Double.
As you pointed out, it cannot be Xml serialized.

However, can I please know the exact scenario where you want to do this?

Currently, the only lame workaround that I can think of is to serialize the
underlying primitive double which will work.

Thanks
Sadagopan Rajaram
Microsoft Visual J# .NET Product Team.

This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


--------------------
[quoted text, click to view]

java.lang.Double cannot be serialized because it does not have a default
public constructor.

What can I do to serialized it.

Thanks.
[quoted text, click to view]
AddThis Social Bookmark Button