[Mono-bugs] [Bug 519442] Inconsistant serialization between Mono 2.4 and .NET 3.5 throwing InvalidOperationException
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Jul 6 21:20:23 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=519442
User aenomoto at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=519442#c3
Atsushi Enomoto <aenomoto at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aenomoto at novell.com
Severity|Major |Minor
--- Comment #3 from Atsushi Enomoto <aenomoto at novell.com> 2009-07-06 19:20:18 MDT ---
This repro (and then likely NHibernate) makes nasty use of .NET exploit that
inconsistently allows "dictionary serialization" which is explicitly
prohibited.
It is proved when the sample repro is modified to hold
"Dictionary<string,string>" instead of "IDictionary<string,string>", then .NET
raises InvalidOperationException.
Our serialization engine is designed to explicitly to exclude such dictionary
serialization.
We may have to fix some ICollection-based serialization, but such use won't be
popular (->MINOR), and it is absolutely not for this kind of IDictionary<,>
use.
--
Configure bugmail: http://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