[Mono-bugs] [Bug 65883][Wis] Changed - runtime exception in System.AppDomain:LoadAssemblyRaw -- does not happen in microsoft's runtime

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 13 Sep 2004 15:27:47 -0400 (EDT)


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 ddulai@bloomberg.net.

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

--- shadow/65883	2004-09-13 14:51:04.000000000 -0400
+++ shadow/65883.tmp.6186	2004-09-13 15:27:47.000000000 -0400
@@ -2,13 +2,13 @@
 Product: Mono: Runtime
 Version: unspecified
 OS: Debian Potato
 OS Details: custom build of mono 1.0
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: ddulai@bloomberg.net               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -130,6 +130,35 @@
 Test constructor
 Test2 constructor
 
 
 How often does this happen? 
 every time. but never in msft's runtime
+
+------- Additional Comments From ddulai@bloomberg.net  2004-09-13 15:27 -------
+note that in the main program, if i use something like:
+
+    _t1 = _appdomain.CreateInstanceFrom(lib, "BB.Test");
+
+instead of
+
+     _appdomain.Load(loadFile(lib));
+     _t1 = _appdomain.CreateInstance("libd", "BB.Test");
+
+it doesn't crash, but its still wrong. what i did was the copy + 
+retext the console.writeline in Test's constructor.
+
+In msft's .net, it prints this:
+
+Test constructor
+Test2 constructor
+Test constructor in lib2
+Test2 constructor in lib2
+
+but in mono, it prints:
+
+Test constructor
+Test2 constructor
+Test constructor
+Test2 constructor
+
+