Revert workaround for fixed Bug 229480 -  [builder] compiler exception causes NPE in AbstractImageBuilder.acceptResult()

diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/AbstractImageBuilder.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/AbstractImageBuilder.java
index 9e7b50d..1fca33d 100644
--- a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/AbstractImageBuilder.java
+++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/AbstractImageBuilder.java
@@ -202,13 +202,9 @@
 		if (result.hasAnnotations && this.filesWithAnnotations != null) // only initialized if an annotation processor is attached
 			this.filesWithAnnotations.add(compilationUnit);
 
-//{ObjectTeams: intermediate patch for https://bugs.eclipse.org/bugs/show_bug.cgi?id=229480
-		if (this.inCompiler)
-			this.compiler.lookupEnvironment.releaseClassFiles(classFiles);
+		this.compiler.lookupEnvironment.releaseClassFiles(classFiles);
 		finishedWith(typeLocator, result, compilationUnit.getMainTypeName(), definedTypeNames, duplicateTypeNames);
-		if (this.inCompiler)
-			this.notifier.compiled(compilationUnit);
-// SH}
+		this.notifier.compiled(compilationUnit);
 	}
 }