[Mono-bugs] [Bug 519336] Generic sharing causes cctor on parent class to be called only once for multiple generic instances

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jul 6 10:52:01 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=519336

User vargaz at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=519336#c1


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vargaz at gmail.com




--- Comment #1 from Zoltan Varga <vargaz at gmail.com>  2009-07-06 08:52:00 MDT ---
The problem here is that we call a gshared method from another gshared method,
the call gets patched, so further calls don't go through the JIT, so there is
nobody to call runtime_class_init () for the class. We probably need to
generate
a call to a generic_class_init_trampoline before calling the gshared method.

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


More information about the mono-bugs mailing list