aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoravasseur <avasseur>2005-08-17 07:39:47 +0000
committeravasseur <avasseur>2005-08-17 07:39:47 +0000
commitf9a425cb10da59c629fea56861f26967b22b1766 (patch)
treef279e24f67117ab554bef51099e690c70003cbab /weaver
parent2a599cb4edaf0f5815ad685e1dfe5f8d8c3ccaba (diff)
downloadaspectj-f9a425cb10da59c629fea56861f26967b22b1766.tar.gz
aspectj-f9a425cb10da59c629fea56861f26967b22b1766.zip
@AJ PTW polish as per aj$getInstance does not rethrow the exc but return null #92880
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelPerClauseAspectAdder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelPerClauseAspectAdder.java b/weaver/src/org/aspectj/weaver/bcel/BcelPerClauseAspectAdder.java
index cd5de4874..87ca7852b 100644
--- a/weaver/src/org/aspectj/weaver/bcel/BcelPerClauseAspectAdder.java
+++ b/weaver/src/org/aspectj/weaver/bcel/BcelPerClauseAspectAdder.java
@@ -494,8 +494,8 @@ public class BcelPerClauseAspectAdder extends BcelTypeMunger {
il.append(InstructionConstants.ARETURN);
InstructionHandle handler = il.append(InstructionConstants.ASTORE_1);
- il.append(InstructionConstants.ALOAD_1);
- il.append(InstructionConstants.ATHROW);
+ il.append(InstructionConstants.ACONST_NULL);
+ il.append(InstructionConstants.ARETURN);
method.addExceptionHandler(
tryStart, handler.getPrev(), handler, new ObjectType("java.lang.Exception"), false