[Mono-bugs] [Bug 422491] Remoting: Passing ObjRef from Windows to Mono throws " Object type System.Int64 cannot be converted to target type: System.Int32"
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Sep 5 05:12:21 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=422491
User steffen.enni at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=422491#c5
--- Comment #5 from Steffen Enni <steffen.enni at gmail.com> 2008-09-05 03:12:20 MDT ---
No it is not fully fixed in SVN. What was fixed was the the _ContextID field
was re-added in r112274 but the type of the field is not the same an in
mscorlib, Version=2.0.0.0.
Microsoft declares the same field as an System.Object.
We we can't deserialize a CrossAppDomainChannel object created by Microsoft
into the one available on Mono. System.Object does not fit into int. But it
works the other way because int fit into System.Object.
So we need to have the type of this field changed in SVN to be System.Object.
File that needs change:
/mcs/class/corlib/System.Runtime.Remoting.Channels/CrossAppDomainChannel.cs
--
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