[Mono-bugs] [Bug 76661][Nor] Changed - runtime handles missing
assemblies/classes etc. ungracefully
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Apr 28 01:12:02 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 miguel at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76661
--- shadow/76661 2006-04-27 07:21:43.000000000 -0400
+++ shadow/76661.tmp.9444 2006-04-28 01:12:02.000000000 -0400
@@ -63,6 +63,18 @@
error condition. A prime example is mono_class_init () which is called
from a million places. Also, we initialize a lot of things lazily, so
a function like mono_class_get_fields () which is supposed to be
an iterator could run into a class load error, but it can't signal it
since a NULL return value means 'end of iteration'.
+
+------- Additional Comments From miguel at ximian.com 2006-04-28 01:12 -------
+I agree, there are a lot of places where we should more gracefully
+handle errors, and the iterator case is probably going to be hard to
+cope with as you point out.
+
+But there is still some value in starting some of this work. I have
+now a few tests passing without crashing Mono and producing the
+TypeLoadException (missing references to methods, fields, missing
+types from field definitions and the case of the first duplicated bug
+in this thread) handled.
+
More information about the mono-bugs
mailing list