[Mono-bugs] [Bug 590669] New: Type loading is a bit too aggressive for locals during jit

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 23 20:58:32 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=590669#c0


           Summary: Type loading is a bit too aggressive for locals during
                    jit
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: x86-64
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: verifier
        AssignedTo: rkumpera at novell.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=350146)
 --> (http://bugzilla.novell.com/attachment.cgi?id=350146)
test case

User-Agent:       Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.2.15
Version/10.01

See attached test case.

Reproducible: Always

Steps to Reproduce:
Run attached test case - it throws a TypeLoadException in mono, but works with
MS.



It might seem like a minor issue, but it changes the point where the
TypeLoadException is thrown. For code like the following:

void M ()
{
   try {
       C c = FetchCSomehow ();
   } catch {
   }
}

the difference is substantial: MS will reach the exception handler and swallow
the TLE exception, while mono will throw before we start executing the 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.


More information about the mono-bugs mailing list