]> source.dussan.org Git - aspectj.git/commitdiff
fixed accidental capture of StringBuffer.append(int)
authorjhugunin <jhugunin>
Wed, 18 Dec 2002 05:17:00 +0000 (05:17 +0000)
committerjhugunin <jhugunin>
Wed, 18 Dec 2002 05:17:00 +0000 (05:17 +0000)
tests/new/ArgsAlone.java

index 89b3736d65c306e53afa42026f657c8b44fce743..61c868efec7e553d94fd0b6d8f1f50f07cb6c0a8 100644 (file)
@@ -22,7 +22,7 @@ aspect Aspect {
            || execution(void TargetClass.callInt(int)));
 
     before(int i) 
-        : !target(Aspect) && args(i)  
+        : !target(Aspect) && args(i)  && !target(StringBuffer)
         //&& pc() // uncomment to avoid InternalCompilerError
         {
             Tester.event("within " + i