* AppDomainSetup.cs: If configuration file is not an absolute path,
authorGert Driesen <drieseng@users.sourceforge.net>
Sun, 25 Feb 2007 10:35:34 +0000 (10:35 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Sun, 25 Feb 2007 10:35:34 +0000 (10:35 -0000)
commitdb81da4689c2cb0397daa5e377028a2b5abbe52c
treee62993d703cc134567a58de1af178aa229db60d0
parent194225c609f92153f2c77d6bb9c493ed3cb3d64f
* AppDomainSetup.cs: If configuration file is not an absolute path,
then throw a MemberAccessException if ApplicationBase is not set,
or otherwise consider it as a path relative to ApplicationBase.
Fixes bug #80934. Patch provided by Jamie Cansdale.
* AppDomain.cs: In CreateDomain, construct AppDomain with
ApplicationBase of default domain if not explicitly set in specified
AppDomainSetup. If config file is not set, then use filename of the
default domain config file. Base on patch provided by Jamie Cansdale.
* AppDomainSetupTest.cs: Added tests for bug #80934.
* AppDomainTest.cs: Added tests for bug #80934.

svn path=/trunk/mcs/; revision=73402
mcs/class/corlib/System/AppDomain.cs
mcs/class/corlib/System/AppDomainSetup.cs
mcs/class/corlib/System/ChangeLog
mcs/class/corlib/Test/System/AppDomainSetupTest.cs
mcs/class/corlib/Test/System/AppDomainTest.cs
mcs/class/corlib/Test/System/ChangeLog