[Mono-dev] [PATCH] mono-service: Use AppDomain.ExecuteAssembly instead of MethodInfo.Invoke

Kornél Pál kornelpal at gmail.com
Wed Jun 7 08:47:09 EDT 2006


Hi,

Neither the callback nor the signal handlers are affected so I committed the 
patch. Note that evidence is affected by the method so added 
AppDomain.CurrentDomain.Evidence parameter to ensure that evidence is not 
changed altough currently it has no effect because the default evidence is 
used.

Kornél

----- Original Message ----- 
From: "Jörg Rosenkranz" <joerg.rosenkranz at gmail.com>
To: "Kornél Pál" <kornelpal at gmail.com>
Cc: <mono-devel-list at lists.ximian.com>
Sent: Wednesday, June 07, 2006 2:25 PM
Subject: Re: [Mono-dev] [PATCH] mono-service: Use AppDomain.ExecuteAssembly 
instead of MethodInfo.Invoke


Hi Kornel,

2006/6/7, Kornél Pál <kornelpal at gmail.com>:
>
> This fixes the bug reported by Pablo. AppDomain.ExecuteAssembly uses the
> same method to execute the assembly as the runtime so assemblies that can 
> be
> executed using the runtime are guaranted to be executable by mono-service 
> as
> well.
>

I have no objections if this leaves the callback and the signal handlers 
intact.

Joerg. 




More information about the Mono-devel-list mailing list