From: aclement Date: Fri, 19 Mar 2010 16:14:20 +0000 (+0000) Subject: 44365: cope with also wanting to advise a method called is X-Git-Tag: V1_6_9M1~38 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9f44ac1d97dbaa8d571ad6d73746c82a3fe07aae;p=aspectj.git 44365: cope with also wanting to advise a method called is --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java index 48d6c9674..8aeb64720 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java @@ -983,7 +983,7 @@ public class PatternParser { } } if (typeIsPattern == null) { - throw new ParserException("ClassType/AspectType/InterfaceType/InnerType/EnumType/AnnotationType/AnonymousType", token); + return null; } if (!maybeEat(")")) { throw new ParserException(")", tokenSource.peek());