Project: AspectJ
Bug 382189 NPE in BcelTypeMunger.createBridgeMethod
Reported: 2012-06-10 10:48:00 | Status: resolved fixed

Build Identifier: Since I updated to version AspectJ Development Tools 2.2.0.e37x-20120529-0900 I get during compile: java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelTypeMunger.createBridgeMethod(BcelTypeMunger.java:1325) at org.aspectj.weaver.bcel.BcelTypeMunger.createAnyBridgeMethodsForCovariance(BcelTypeMunger.java:1272) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewMethod(BcelTypeMunger.java:971) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:108) at org.aspectj.weaver.bcel.BcelClassWeaver.weave(BcelClassWeave ... ) Before, I had AspectJ Development Tools 2.2.0.e37x-20120507-1400 and the same project compiled without that exception. Reproducible: Always

Files changed in fix:
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java tests/bugs170/pr382189/covbug/A.java tests/bugs170/pr382189/covbug/B.java tests/bugs170/pr382189/covbug/SuperA.java tests/bugs170/pr382189/covbug/SuperB.java tests/bugs170/pr382189/covbug/cc/covbug/A.java tests/bugs170/pr382189/covbug/cc/covbug/B.java tests/bugs170/pr382189/covbug/cc/covbug/SuperA.java tests/bugs170/pr382189/covbug/cc/covbug/SuperB.java tests/bugs170/pr382189/covbug/pj/Foo.java tests/bugs170/pr382189/one/A.java tests/bugs170/pr382189/one/B.java tests/bugs170/pr382189/one/SuperA.java tests/bugs170/pr382189/one/SuperB.java tests/bugs170/pr382189/three/A.java tests/bugs170/pr382189/three/B.java tests/bugs170/pr382189/three/SuperA.java tests/bugs170/pr382189/three/SuperB.java tests/bugs170/pr382189/two/A.java tests/bugs170/pr382189/two/B.java tests/bugs170/pr382189/two/SuperA.java tests/bugs170/pr382189/two/SuperB.java tests/bugs170/pr382435/one/bug/A.java tests/bugs170/pr382435/two/bug/A.java tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java