[Mono-dev] [patch] coreclr/com check + icall cleanup
kumpera at gmail.com
Wed Nov 4 13:31:54 EST 2009
The icall removal patch is ok.
The second one is tricky. Do we really want to completely disable COM
support when running under the sandbox?
It does make sense for moonlight, but not for other users of coreclr.
I believe we should only fail COM for non-platform assemblies which has the
same result for moonlight but won't
bite future users of the sandbox code.
On Thu, Oct 29, 2009 at 4:43 PM, Sebastien Pouliot <sebastien at ximian.com>wrote:
> Two small/easy patches for review.
> The first one avoid calling mono_com_init when coreclr is enabled*.
> This avoid a crash if some assembly use [ComImport] on a type and throw
> a TypeLoadException - which is what happens in Silverlight.
> * For some reason (I guess it use COM for it's platform code,
> while Moonlight does not) Silverlight expose [ComImport] but
> otherwise does not support COM (as least for application code).
> Second patch removes some internal calls (all strings except one) that
> are not used (anymore) in the class libraries.
> p.s. both patches were created from 2-6 branch but I'll commit them
> against HEAD too.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list