[Mono-bugs] [Bug 58047][Maj] New - hang: CurrentDomain.CreateInstance("NoSuchType, Version", "NoSuchType")

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 5 May 2004 01:16:07 -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 shaver@off.net.

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

--- shadow/58047	2004-05-05 01:16:07.000000000 -0400
+++ shadow/58047.tmp.11508	2004-05-05 01:16:07.000000000 -0400
@@ -0,0 +1,37 @@
+Bug#: 58047
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: FC2T3, x86
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: shaver@off.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: hang: CurrentDomain.CreateInstance("NoSuchType, Version", "NoSuchType")
+
+This hangs with my beta1 build:
+
+using System;
+
+class Test
+{
+    public static void Main()
+    {
+        try {
+            AppDomain.CurrentDomain.CreateInstance("Nonsense, Version",
+                                                   "MyType");
+        } catch (Exception e) {
+            Console.WriteLine(e.Message);
+        }
+    }
+}
+
+If I take out the ", Version" part, it just tells me it can't find the file
+"Nonsense".