From 3beaaba0c5f801ff8be35288025f0a2e18be3095 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 8 Jun 2006 08:43:00 +0000 Subject: [PATCH] oops! remove that bit. --- .../src/org/aspectj/weaver/bcel/PoliceExtensionUse.java | 8 -------- 1 file changed, 8 deletions(-) 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); } -- 2.39.5