From 1f7d28f480f7f8c5e0316688a4f95abb62e7b747 Mon Sep 17 00:00:00 2001 From: acolyer Date: Mon, 15 Mar 2004 19:54:05 +0000 Subject: [PATCH] guess who used a 1.4 only API then..... --- .../aspectj/ajdt/internal/compiler/AjCompilerAdapter.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java index ab3cebdb2..d679d12b9 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java @@ -107,8 +107,7 @@ public class AjCompilerAdapter implements ICompilerAdapter { weave(); // notification happens as weave progresses... } } catch (IOException ex) { - AbortCompilation ac = new AbortCompilation(); - ac.initCause(ex); + AbortCompilation ac = new AbortCompilation(null,ex); throw ac; } } @@ -148,8 +147,7 @@ public class AjCompilerAdapter implements ICompilerAdapter { try { weave(); } catch (IOException ex) { - AbortCompilation ac = new AbortCompilation(); - ac.initCause(ex); + AbortCompilation ac = new AbortCompilation(null,ex); throw ac; } } -- 2.39.5