diff options
author | aclement <aclement> | 2008-07-08 15:52:44 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-07-08 15:52:44 +0000 |
commit | a59202a5f980a8813e7edf18e2d889382dad627b (patch) | |
tree | eeeb86eaec9e2e49d263e9d9d838faf4cf5878bd /weaver | |
parent | 91fe127af954767d54f972c032eb716de10467d3 (diff) | |
download | aspectj-a59202a5f980a8813e7edf18e2d889382dad627b.tar.gz aspectj-a59202a5f980a8813e7edf18e2d889382dad627b.zip |
239910: fix
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java index 5ffa45184..07a2fbb9f 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java @@ -290,7 +290,6 @@ public class BcelWeaver { ClassParser parser = new ClassParser(new ByteArrayInputStream(bytes),name); JavaClass jc = parser.parse(); ResolvedType type = world.addSourceObjectType(jc).getResolvedTypeX(); - if (!type.isAspect()) return; String typeName = type.getName().replace('.', File.separatorChar); int end = name.indexOf(typeName+".class"); String binaryPath = null; @@ -302,7 +301,9 @@ public class BcelWeaver { binaryPath = name.substring(0,end-1); } type.setBinaryPath(binaryPath); - toList.add(type); + if (type.isAspect()) { + toList.add(type); + } } |