[Mono-bugs] [Bug 37598][Nor] New - pending init error when using --debug
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Tue, 4 Feb 2003 13:59:12 -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 vargaz@freemail.hu.
http://bugzilla.ximian.com/show_bug.cgi?id=37598
--- shadow/37598 Tue Feb 4 13:59:12 2003
+++ shadow/37598.tmp.20320 Tue Feb 4 13:59:12 2003
@@ -0,0 +1,45 @@
+Bug#: 37598
+Product: Mono/Runtime
+Version: unspecified
+OS: Debian Woody
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: vargaz@freemail.hu
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: pending init error when using --debug
+
+The debugger causes pending init errors for some classes. A testcase is
+attached below. When I run it with --debug, mono aborts with a pending
+init error.
+
+==========================================================================
+
+using System.Reflection;
+
+class B {
+ public C returnC () {
+ return new C ();
+ }
+}
+
+class A : B {
+}
+
+class C : A {
+}
+
+class Bug {
+
+ static public void Main() {
+ typeof(Bug).Assembly.GetType ("A");
+ }
+}
+=========================================================================