patchDotGNU Portable.NET - Patches: patch #3059, Patch to handle nested try/catch

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #3059: Patch to handle nested try/catch

Submitter:  Jonas Printzen <jonaspr>
Submitted:  Fri 14 May 2004 11:56:23 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Sun 23 May 2004 02:43:04 PM UTC, comment #2: 

This patch was approved by Rhys in this week's meeting

and was applied to CVS on 23rd May 2004.

Please have a look at the issue tum describes ?.

Gopal.V <t3rmin4t0r>
Group administrator
Sat 22 May 2004 11:11:04 PM UTC, comment #1: 

Hi Jonas,

This patch has a problem with the following code:

public static void Main()
{
  try
  {
    throw new Exception();
  }
  catch
  {
    throw;
  }
}

The "rethrow" throws back into the same exception handling table as the catch which causes ilrun to loop infinitely.

Thong Nguyen <tum>
Group Member
Fri 14 May 2004 11:56:23 AM UTC, original submission:  

This patch changes OutputExceptionTable() in verify_except.c
so that nested try/catch don't loose outer try/catch.

Also removes duplication of try-handlers when multiple catch exist for same try region

Jonas Printzen <jonaspr>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #7442:  jonaspr-040514.patch added by jonaspr (5KiB - application/octet-stream - patch on OutputExceptionTable() to handle nested try/catch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-05-23 t3rmin4t0r StatusNone Done
    Open/ClosedOpen Closed
2004-05-14 jonaspr Attached File- Added jonaspr-040514.patch, #3257

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code