[Mono-bugs] [Bug 445852] Mono runtime fails loaded some nested classes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 18 13:53:18 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=445852

User khester at pacificbiosciences.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=445852#c3





--- Comment #3 from Kevin Hester <khester at pacificbiosciences.com>  2008-11-18 11:53:17 MST ---
Sure thing - not until next week though (I have some other things in my queue).

The problem isn't so much F# as it is an error in the mono embedding API call
for mono_class_from_name.  That function doesn't work correctly with nested
classes unless someone has already called class_init on the outer class.

This problem doesn't show for non embedded applications because the regular
Type.GetType() call goes through a static function called
mono_reflection_get_type_internal which is careful to ensure that outer classes
are resolved.

Are there any existing test cases for the embedding API?  It would probably be
easier for me to extend one of those.  I couldn't find any.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list