From: acolyer Date: Tue, 10 Aug 2004 08:18:30 +0000 (+0000) Subject: fix for Bugzilla Bug 70201 X-Git-Tag: for_ajdt1_1_12~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ce1e477ecd9244c49b86fb3d7ea884e09e2ba6ee;p=aspectj.git fix for Bugzilla Bug 70201 Branch target offset too large for short --- diff --git a/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java b/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java index 8cc7a1665..d50c5b592 100644 --- a/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java +++ b/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java @@ -331,7 +331,10 @@ public final class LazyMethodGen { this.getName(), e.getMessage()), this.getMemberView() == null ? null : this.getMemberView().getSourceLocation(), null); - throw e; +// throw e; PR 70201.... let the normal problem reporting infrastructure deal with this rather than crashing. + body = null; + MethodGen gen = pack(); + return gen.getMethod(); } }