diff options
author | jhugunin <jhugunin> | 2003-03-10 23:18:56 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-03-10 23:18:56 +0000 |
commit | cd8bd2c7cef6d403d6a60c7f3deb104b2898364b (patch) | |
tree | dbe8d190c2625714e8b05e0c16a25c4aae6c7f1c /weaver | |
parent | 7139ac48be452e260c39f5c75ed845b661725cc9 (diff) | |
download | aspectj-cd8bd2c7cef6d403d6a60c7f3deb104b2898364b.tar.gz aspectj-cd8bd2c7cef6d403d6a60c7f3deb104b2898364b.zip |
further work on binary aspects (aspect path) tested correct behavior
for obvious forms of concrete aspects, next need to address abstract
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java index 97bab6624..e0e3f04d5 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java @@ -247,7 +247,12 @@ class BcelClassWeaver implements IClassWeaver { // start by munging all typeMungers for (Iterator i = typeMungers.iterator(); i.hasNext(); ) { - BcelTypeMunger munger = (BcelTypeMunger)i.next(); + Object o = i.next(); + if ( !(o instanceof BcelTypeMunger) ) { + System.err.println("surprising: " + o); + continue; + } + BcelTypeMunger munger = (BcelTypeMunger)o; isChanged |= munger.munge(this); } |