From 9bfea799f7a54b78115111e4c6d44a67536e23ca Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 20 Jan 2006 09:41:28 +0000 Subject: [PATCH] without this check, we sometimes hide earlier problems. --- .../org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5