[Mono-bugs] [Bug 75377][Min] Changed - Cross-AppDomain delegate
marshaling bug
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Jun 28 12:53:36 EDT 2005
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 kornelpal at hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75377
--- shadow/75377 2005-06-28 12:42:10.000000000 -0400
+++ shadow/75377.tmp.5220 2005-06-28 12:53:36.000000000 -0400
@@ -168,6 +168,20 @@
this (a NotSupportedException will be thrown upon an attempt to
marshal back into the wrong domain -- it's illegal to do this for any
delegate via marshalling, regardless of whether the target type is
serializble or MarshalByRef)."
So, it seems that we need to implement that behavior.
+
+------- Additional Comments From kornelpal at hotmail.com 2005-06-28 12:53 -------
+Throwing NotSupportedException is better than allowing objects to be
+used in different AppDomain it belongs to.
+
+I think even using standard cross AppDomain remoting (by-ref or
+serialization according to the class of the object) would be better
+than simply not supporting this.
+
+Unfortunately we have to do what they will do in the final version
+unless it can be considered to be a bug in their implementation.
+
+But throwing an exception is not a bug just comfortable fix (for
+their programmers) without work.
More information about the mono-bugs
mailing list