From 06f056227ea78ef424f9c5baf91148d208ff3df8 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 11 Jun 2008 19:40:30 +0000 Subject: [PATCH] 197719: second testcase --- weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java b/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java index dbf68b730..ae3bd53fd 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java @@ -3456,8 +3456,6 @@ public class BcelShadow extends Shadow { if (!hasThis()) { // pr197719 - static accessor has been created to handle the call if (Modifier.isStatic(enclosingMethod.getAccessFlags()) && enclosingMethod.getName().startsWith("access$")) { targetType = BcelWorld.fromBcel(enclosingMethod.getArgumentTypes()[0]); - } else { - throw new BCException("unexpectedly found static context at shadow "+toString()+": accessor method involved?"); } } else { if (!targetType.resolve(world).isAssignableFrom(getThisType().resolve(world))) { -- 2.39.5