https://bugzilla.novell.com/show_bug.cgi?id=348522

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=348522#c11





--- Comment #11 from Rodrigo Kumpera <[EMAIL PROTECTED]>  2008-01-30 08:48:41 
MST ---
I nailed down the issue with the remoting tests. I have a patch to fix it but
it looks like a big hack than a proper fix. The patch to
mono_runtime_invoke_array does the following:

+pao = mono_array_get (params, MonoObject*, i);
+pa [i] = pao;
+
+if (pao != NULL && !mono_class_is_assignable_from (par_class,
pao->vtable->klass)) {
+       if (pao->vtable->klass != mono_defaults.transparent_proxy_class ||
!mono_class_is_assignable_from (par_class,
((MonoTransparentProxy*)pao)->remote_class->proxy_class))
+               mono_raise_exception (mono_get_exception_argument ("",
"Incompatible type passed"));
+       }
+}




In some cases the object type is TransparentProxy instead of the object itself.
I'm still not sure why this happens and the way I'm handling it doesn't seen
right. I haven't been able to isolate the issue outside of running
System.Runtime.Remoting test suite.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to