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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=386415#c4





--- Comment #4 from Robert Jordan <[EMAIL PROTECTED]>  2008-05-03 08:30:38 MST 
---
Grr, sorry for the bug spam. My keyboard went out of batteries and was starting
pressing random keys :-)


A footnote on mono_marshal_get_thunk_invoke_wrapper ():
it is generating unverifiable code:

static result_type wrapper_for_method_foo (some arg, out Exception ex)
{
    result_type res;
    ex = null;

    try {
        res = foo (arg);
    } catch (Exception e) {
        ex = e;
    }
    return res; // <-- res might be unitialized
}

The unverifiable code does not harm since unmanaged code must
not rely on "res" being initialized. The same for "out" args.

I can, of course. fix this, but is it really necessary?


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to