[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
Thu Apr 27 07:21:43 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 vargaz at gmail.com.


--- shadow/76661	2006-04-27 03:01:39.000000000 -0400
+++ shadow/76661.tmp.11865	2006-04-27 07:21:43.000000000 -0400
@@ -53,6 +53,16 @@
 *** Bug 65758 has been marked as a duplicate of this bug. ***
 ------- Additional Comments From miguel at ximian.com  2006-04-27 03:01 -------
 I have a patch that catches a few cases, I think the general idea of
 my patch is workable, will create a few manual tests and try to expand
 the failing code paths as we go.
+------- Additional Comments From vargaz at gmail.com  2006-04-27 07:21 -------
+The metadata code is not written with error checking in mind, lots of
+function have no return value at all which can be used to signal an
+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'.

More information about the mono-bugs mailing list