From: aclement Date: Thu, 8 Jun 2006 08:43:00 +0000 (+0000) Subject: oops! remove that bit. X-Git-Tag: V1_5_2rc1~57 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3beaaba0c5f801ff8be35288025f0a2e18be3095;p=aspectj.git oops! remove that bit. --- diff --git a/weaver/src/org/aspectj/weaver/bcel/PoliceExtensionUse.java b/weaver/src/org/aspectj/weaver/bcel/PoliceExtensionUse.java index 186333ca0..f10e8d123 100644 --- a/weaver/src/org/aspectj/weaver/bcel/PoliceExtensionUse.java +++ b/weaver/src/org/aspectj/weaver/bcel/PoliceExtensionUse.java @@ -58,14 +58,6 @@ public class PoliceExtensionUse extends IdentityPointcutVisitor { world.getMessageHandler().handleMessage(m); } } - if (node.getKind()==Shadow.MethodExecution) { - if (!world.isJoinpointTrivialEnabled() && - node.getSignature().getModifiers().concernedWithTriviality()) { - IMessage m = MessageUtil.warn("Use of 'trivial' modifier in the execution() pointcut is not allowed without the option -Xjoinpoints:trivial", - p.getSourceLocation()); - world.getMessageHandler().handleMessage(m); - } - } return super.visit(node, data); }