[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] Patch 3058 Nested try/catch
From: |
Jonas Printzen |
Subject: |
[Pnet-developers] Patch 3058 Nested try/catch |
Date: |
Fri, 14 May 2004 13:34:52 +0200 |
Hi All!
I have submitted a patch to repair broken generation of nested try/catch
handling.
The symptom was that with a nested try/catch, code for the outer try-handler
was
not generated, resulting in the exception being thrown to caller.
The solution assumes the exception-list contains try-regions according to
spec, which basically is inner before outer (this is a must!) and else in
order of
appearance (ignored in current implementation I think).
Tests with multi-level try/catch have been used to verify the result.
Appart from this, previously generated duplicates of try-handlers, have been
removed. This occured when multiple catch-clause was present, because they
result in multiple exception-list entries with identical try-region.
No changes in the code-block actually generated. Just that they all are...
Nothing has been done to assert verification of order. It appears that
the current exception-verification code verify.c needs updateing for this.
... working on it... :)
/Jonas
- [Pnet-developers] Patch 3058 Nested try/catch,
Jonas Printzen <=