[Mono-bugs] [Bug 71110][Nor] Changed - [PATCH] AppDomain.Evidence call crashes.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 8 Jan 2005 19:44:33 -0500 (EST)
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 sebastien@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=71110
--- shadow/71110 2005-01-08 19:35:29.000000000 -0500
+++ shadow/71110.tmp.541 2005-01-08 19:44:33.000000000 -0500
@@ -11,13 +11,13 @@
AssignedTo: sebastien@ximian.com
ReportedBy: miguel@ximian.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: AppDomain.Evidence call crashes.
+Summary: [PATCH] AppDomain.Evidence call crashes.
Calling AppDomain.Evidence crashes on a newly created AppDomain, the
following program should return 0, currently crashes:
using System;
@@ -54,6 +54,17 @@
------- Additional Comments From sebastien@ximian.com 2005-01-08 19:35 -------
I can replicate on x86. It seems my assumption that appdomain #0 was
the root domain is no longer (or not always) true. I'll change the
icall to return the root appdomain (as it doesn't seems we can get an
AppDomain by it's Id anyway).
+
+------- Additional Comments From sebastien@ximian.com 2005-01-08 19:44 -------
+Here's two patches, one for metadata and one for AppDomain.cs.
+
+They fix the previous test case and 3 unit tests failures:
+- System.AppDomainTest.CreateDomain_String
+- System.AppDomainTest.CreateDomain_StringEvidenceNull
+- System.AppDomainTest.CreateDomain_StringEvidenceNullAppDomainSetup
+
+Note: as this changes (removal/add) an icall we'll need to bump
+corlib's version when applying the patch.