aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2008-12-13 01:45:29 +0000
committeraclement <aclement>2008-12-13 01:45:29 +0000
commit711244d4b37da114c139732c2572e33771be848e (patch)
tree6aa5f4cd1a934a48bc262f18e3fce1ad48ef1d35 /org.aspectj.ajdt.core
parentd7c64f06ad0a3f71934fdcad2f470ac3a053f0bd (diff)
downloadaspectj-711244d4b37da114c139732c2572e33771be848e.tar.gz
aspectj-711244d4b37da114c139732c2572e33771be848e.zip
258325: refix
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java6
1 files changed, 3 insertions, 3 deletions
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 494880666..d17692fd8 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
@@ -1077,12 +1077,12 @@ public class AjBuildManager implements IOutputClassFileNameProvider, IBinarySour
} else {
outFile = new File(destinationPath, filename).getPath();
}
- if (buildConfig.getCompilationResultDestinationManager() != null) {
- buildConfig.getCompilationResultDestinationManager().reportClassFileWrite(outFile);
- }
BufferedOutputStream os = FileUtil.makeOutputStream(new File(outFile));
os.write(classFile.getBytes());
os.close();
+ if (buildConfig.getCompilationResultDestinationManager() != null) {
+ buildConfig.getCompilationResultDestinationManager().reportClassFileWrite(outFile);
+ }
return outFile;
}