]> source.dussan.org Git - aspectj.git/commitdiff
allow exception to flow out rather than losing it due to an NPE
authoraclement <aclement>
Tue, 25 Jul 2006 12:38:13 +0000 (12:38 +0000)
committeraclement <aclement>
Tue, 25 Jul 2006 12:38:13 +0000 (12:38 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java

index b2cd46e2d5e793e7f94c1c613c4fb16a2f63cb91..6e0f844d2372d746cc6c7d39606e1f88785f40c2 100644 (file)
@@ -344,7 +344,7 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc
                }
             ret = !handler.hasErrors();
             if (getBcelWorld()!=null) getBcelWorld().tidyUp();
-            getWeaver().tidyUp();
+            if (getWeaver()!=null) getWeaver().tidyUp();
             // bug 59895, don't release reference to handler as may be needed by a nested call
             //handler = null;
         }