[Mono-bugs] [Bug 647948] null stream.BaseStream Close/Dispose not throwing exception (unlike MS .Net)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Oct 23 07:23:49 EDT 2010



--- Comment #2 from Hin-Tak Leung <htl10 at users.sourceforge.net> 2010-10-23 11:23:49 UTC ---
Created an attachment (id=396675)
 --> (http://bugzilla.novell.com/attachment.cgi?id=396675)
source code of a test program

gmcs Carrot.cs

"mono ./Carrot.exe" finishes, but windows .net does this:

Unhandled Exception: System.ObjectDisposedException: Can not access a closed
   at System.IO.Compression.GZipStream.Flush()
   at System.IO.BinaryWriter.Flush()
   at System.IO.BinaryWriter.get_BaseStream()
   at test.Carrot.Close()
   at test.Carrot.Main(String[] args)

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list