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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs