[Mono-bugs] [Bug 78648][Wis] Changed - AppDomain.CreateDomain does not create an empty domain

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jun 14 15:50:24 EDT 2006


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 brian at fluggo.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78648

--- shadow/78648	2006-06-14 15:37:51.000000000 -0400
+++ shadow/78648.tmp.15692	2006-06-14 15:50:24.000000000 -0400
@@ -2,13 +2,13 @@
 Product: Mono: Runtime
 Version: 1.0
 OS: GNU/Linux [Other]
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: misc
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: brian at fluggo.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -50,6 +50,18 @@
 Every time.
 
 Additional Information:
 New AppDomains should be empty, except, of course, for the core libraries.
 Under Mono, however, any assembly loaded under the creating-AppDomain ends
 up loaded in the created-AppDomain.
+
+------- Additional Comments From brian at fluggo.com  2006-06-14 15:50 -------
+The offending code appears to be in mono/metadata/appdomain.c:
+
+    489     /* The new appdomain should have all assemblies loaded */
+    490     mono_domain_assemblies_lock (domain);
+    491     /*g_print ("copy assemblies from domain %p (%s)\n",
+domain, domain->friendly_name);*/
+    492     for (tmp = domain->domain_assemblies; tmp; tmp = tmp->next)
+    493         add_assemblies_to_domain (data, tmp->data, NULL);
+    494     mono_domain_assemblies_unlock (domain);
+


More information about the mono-bugs mailing list