diff options
author | aclement <aclement> | 2005-12-13 08:24:13 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-12-13 08:24:13 +0000 |
commit | 3339edbae5d6891cfbde6952329a4ff2808a7901 (patch) | |
tree | 2564c2a7b598326a064a4577cb8d60d491b91d3b /weaver | |
parent | df3adcd1825893130a1873dfcad1bd82e5b9f70b (diff) | |
download | aspectj-3339edbae5d6891cfbde6952329a4ff2808a7901.tar.gz aspectj-3339edbae5d6891cfbde6952329a4ff2808a7901.zip |
fix for 120474 ($Proxy)
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/ResolvedType.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/ResolvedType.java b/weaver/src/org/aspectj/weaver/ResolvedType.java index a77c88ca1..524e2a25f 100644 --- a/weaver/src/org/aspectj/weaver/ResolvedType.java +++ b/weaver/src/org/aspectj/weaver/ResolvedType.java @@ -1251,7 +1251,7 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl if (isArray()) return null; String name = getName(); int lastDollar = name.lastIndexOf('$'); - while (lastDollar != -1) { + while (lastDollar >0) { // allow for classes starting '$' (pr120474) ResolvedType ret = world.resolve(UnresolvedType.forName(name.substring(0, lastDollar)), true); if (!ResolvedType.isMissing(ret)) return ret; lastDollar = name.lastIndexOf('$', lastDollar-1); |