summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2005-12-13 08:24:13 +0000
committeraclement <aclement>2005-12-13 08:24:13 +0000
commit3339edbae5d6891cfbde6952329a4ff2808a7901 (patch)
tree2564c2a7b598326a064a4577cb8d60d491b91d3b /weaver
parentdf3adcd1825893130a1873dfcad1bd82e5b9f70b (diff)
downloadaspectj-3339edbae5d6891cfbde6952329a4ff2808a7901.tar.gz
aspectj-3339edbae5d6891cfbde6952329a4ff2808a7901.zip
fix for 120474 ($Proxy)
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/ResolvedType.java2
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);