[Mono-bugs] [Bug 464520] New: Exception not carrying . Msg when thrown from IL called constructor.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jan 8 12:05:35 EST 2009


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


           Summary: Exception not carrying .Msg when thrown from IL called
                    constructor.
           Product: Mono: Runtime
           Version: SVN
          Platform: x86
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: lucas.meijer at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=263926)
 --> (https://bugzilla.novell.com/attachment.cgi?id=263926)
testcase for bug

When investigating the necessary steps to get NInject to work on Mono, I found
several failing tests.
One category of failing tests boil down to the following behaviour. It looks
like a bug to me, but I could be wrong.
The attached testcase fails on mono, passes on the clr.

It looks like the .Msg property of an exception thrown in a constructor is not
available to a catchblock, if the constructor was called trough dynamically
generated IL.

Jb Evain confirmed this as a bug on mono-devel, and mentioned this happens only
when the constructor is small enough to inline. This bug does not happen using
-O=-inline.

Bye, Lucas


-- 
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