Project: AspectJ
Bug 65319 ajc crashes when compiling the following program (binding this() and target())
Reported: 2004-06-02 10:29:50 | Status: resolved fixed

class Test { public static void main(String args[]) { new Test().method(); } public void method() { new Test2().method2(); } } class Test2 { public void method2() {} } aspect Plain { before(Test x): call(void *.* (..)) && (this(x) || target(x)) { } }

Files changed in fix:
tests/bugs/oxford/PR65319.java tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java weaver/src/org/aspectj/weaver/patterns/ArgsPointcut.java weaver/src/org/aspectj/weaver/patterns/ExposedState.java weaver/src/org/aspectj/weaver/patterns/ThisOrTargetPointcut.java