summaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authoraclement <aclement>2010-06-29 15:42:01 +0000
committeraclement <aclement>2010-06-29 15:42:01 +0000
commit8659ce4fd4def30f97ba40c5f39f174ac9fda2ce (patch)
tree5baf736f27967ea0d06cfe89db5cbacc65c4aacf /org.aspectj.matcher
parent921c8dac0fe8663f4bceb7b8851bd5fd0e97dfa8 (diff)
downloadaspectj-8659ce4fd4def30f97ba40c5f39f174ac9fda2ce.tar.gz
aspectj-8659ce4fd4def30f97ba40c5f39f174ac9fda2ce.zip
length checkV1_6_9RC2
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/patterns/SimpleScope.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/SimpleScope.java b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/SimpleScope.java
index 276bef1fe..a9b809481 100644
--- a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/SimpleScope.java
+++ b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/SimpleScope.java
@@ -12,9 +12,6 @@
package org.aspectj.weaver.patterns;
-import java.util.HashSet;
-import java.util.Set;
-
import org.aspectj.bridge.IMessage;
import org.aspectj.bridge.IMessageHandler;
import org.aspectj.bridge.ISourceLocation;
@@ -53,7 +50,7 @@ public class SimpleScope implements IScope {
}
// Check for a primitive
- if (Character.isLowerCase(name.charAt(0))) {
+ if (name.length() < 8 && Character.isLowerCase(name.charAt(0))) {
// could be a primitive
int len = name.length();
if (len == 3) {