Community
Participate
Working Groups
If in a try-catch-finally block, the catch block contains a (conditional) return statement, an exception thrown within the try-block will not be handled by the catch-block. Instead the finally block is entered an the exception is passed on. In these cases the Exception Table contains "any"-entries, that occur befor those of the real catch-block. A short example can be found here: http://www.inf.tu-dresden.de/~s7060674/temp/ajc_bug.zip
Created attachment 16166 [details] Minimal testcase to reproduce the bug
Fixed by the work done for bug 78021 which ensures the exception table entries aren't damaged by weaving. Fix checked in - waiting for build.
Fix available: BUILD COMPLETE - build.429 Date of build: 01/11/2005 11:52:16 Time to build: 103 minutes 38 seconds Last changed: 01/11/2005 11:22:16 Last log entry: Fixes for 78021, 79554 - both to do with us breaking the exception table for a method on weaving *if* finally blocks are involved. Latest good AspectJ jar available at: download.eclipse.org/technology/ajdt/dev/aspectj-DEVELOPMENT.jar