From: aclement Date: Fri, 20 Jan 2006 09:41:28 +0000 (+0000) Subject: without this check, we sometimes hide earlier problems. X-Git-Tag: POST_MEMORY_CHANGES~169 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9bfea799f7a54b78115111e4c6d44a67536e23ca;p=aspectj.git without this check, we sometimes hide earlier problems. --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java index 59721acbd..ebdd735c5 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java @@ -322,7 +322,7 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc closeOutputStream(buildConfig.getOutputJar()); } ret = !handler.hasErrors(); - getBcelWorld().tidyUp(); + if (getBcelWorld()!=null) getBcelWorld().tidyUp(); // bug 59895, don't release reference to handler as may be needed by a nested call //handler = null; }