[Mono-bugs] [Bug 45918][Wis] Changed - Hashtable created by Hashtable.Synchronized is not serializable

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Mon, 7 Jul 2003 10:30:40 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by joergr@voelcker.com.

http://bugzilla.ximian.com/show_bug.cgi?id=45918

--- shadow/45918	Mon Jul  7 10:29:08 2003
+++ shadow/45918.tmp.2523	Mon Jul  7 10:30:39 2003
@@ -1,12 +1,12 @@
 Bug#: 45918
 Product: Mono/Class Libraries
 Version: unspecified
 OS: Debian Woody
 OS Details: 
-Status: NEEDINFO   
+Status: REOPENED   
 Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: JoergR@voelcker.com               
@@ -33,7 +33,38 @@
 Thanks.
 
 
 ------- Additional Comments From JoergR@voelcker.com  2003-07-07 10:29 -------
 Created an attachment (id=4792)
 Simple test case for this bug.
+
+
+------- Additional Comments From JoergR@voelcker.com  2003-07-07 10:30 -------
+The testcase should not produce any output.
+
+On Mono an exception is thrown:
+Exception caught: System.Runtime.Serialization.SerializationException:
+Type System.Collections.Hashtable+SynchedHashtable is not marked as
+Serializable and does not implement ISerializable.
+in <0x001e6> 00
+System.Runtime.Serialization.Formatters.Binary.ObjectWriter:GetObjectData
+(object,TypeMetadata&,object[]&)
+in <0x00076> 00
+System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObject
+(System.IO.BinaryWriter,long,object)
+in <0x0010e> 00
+System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObjectInstance
+(System.IO.BinaryWriter,object)
+in <0x0003a> 00
+System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteQueuedObjects
+(System.IO.BinaryWriter)
+in <0x0004b> 00
+System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObjectGraph
+(System.IO.BinaryWriter,object,System.Runtime.Remoting.Messaging.Header[])
+in <0x001b0> 00
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Serialize
+(System.IO.Stream,object,System.Runtime.Remoting.Messaging.Header[])
+in <0x00019> 00
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Serialize
+(System.IO.Stream,object)
+in <0x000d0> 00 Bug.MainClass:Main ()