diff options
author | aclement <aclement> | 2008-07-08 15:10:10 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-07-08 15:10:10 +0000 |
commit | f8c24e135998cea81deb38a5d66752e73e463a83 (patch) | |
tree | 824ccaf6d99360cc7e70636b212c0c0eaa95d0b2 /weaver | |
parent | 13f83eba7cd6c3cdf9f97a527f3ed42f81bfd4ad (diff) | |
download | aspectj-f8c24e135998cea81deb38a5d66752e73e463a83.tar.gz aspectj-f8c24e135998cea81deb38a5d66752e73e463a83.zip |
239910: fixed
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java index 68a32374c..32414f0ce 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java @@ -291,7 +291,7 @@ public class BcelWeaver { JavaClass jc = parser.parse(); ResolvedType type = world.addSourceObjectType(jc).getResolvedTypeX(); String typeName = type.getName().replace('.', File.separatorChar); - int end = name.indexOf(typeName); + int end = name.lastIndexOf(typeName); String binaryPath = null; // if end is -1 then something wierd happened, the class file is not in the correct place, something like // bin/A.class when the declaration for A specifies it is in a package. |