diff options
author | aclement <aclement> | 2005-08-18 07:50:22 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-08-18 07:50:22 +0000 |
commit | 9329ddd9d346ad2474d249777c172e8015148cf1 (patch) | |
tree | 8474ec97c98298ae333f1b301909d5c9ead41052 /org.aspectj.ajdt.core | |
parent | 84542fbb09189dbce642123ef4f41a5c77416cb1 (diff) | |
download | aspectj-9329ddd9d346ad2474d249777c172e8015148cf1.tar.gz aspectj-9329ddd9d346ad2474d249777c172e8015148cf1.zip |
I think that astore at the start of the exception block is the right pattern to use. I remember some bug about a decompiler choking on no store when it was expected.
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java index 1039559cc..9203a43ab 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java @@ -749,6 +749,7 @@ public class AspectDeclaration extends TypeDeclaration { exc.placeEnd(); codeStream.areturn(); exc.place(); + codeStream.astore_1(); // this just returns null now - the old version used to throw the caught exception! codeStream.aconst_null(); codeStream.areturn(); |