[prev in list] [next in list] [prev in thread] [next in thread]
List: mono-bugs
Subject: [Mono-bugs] [Bug 31245][Maj] New - [AppDomain] objects created in other domain run in the current do
From: bugzilla-daemon () rocky ! ximian ! com
Date: 2002-09-26 2:31:17
[Download RAW message or body]
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 gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=31245
--- shadow/31245 Wed Sep 25 22:31:17 2002
+++ shadow/31245.tmp.23468 Wed Sep 25 22:31:17 2002
@@ -0,0 +1,57 @@
+Bug#: 31245
+Product: Mono/Runtime
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gonzalo@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [AppDomain] objects created in other domain run in the current domani
+
+Steps to reproduce the problem:
+1. Compile and run
+------
+using System;
+
+class A : MarshalByRefObject
+{
+ public string Data
+ {
+ get {
+ return AppDomain.CurrentDomain.GetData
+("integer").ToString ();
+ }
+ }
+}
+
+class C
+{
+ static void Main ()
+ {
+ AppDomain current = AppDomain.CurrentDomain;
+ current.SetData ("integer", 0);
+ AppDomain domain = AppDomain.CreateDomain ("otro");
+ domain.SetData ("integer", 1);
+ object o = domain.GetData ("integer");
+ A a = (A) domain.CreateInstanceAndUnwrap (typeof
+(A).Assembly.FullName, "A");
+ Console.WriteLine (a.Data);
+ }
+}
+---------
+Actual Results:
+0
+
+Expected Results:
+1
+
+Additional Information:
+This bug prevents ApplicationHost creation in System.Web
_______________________________________________
mono-bugs maillist - mono-bugs@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic