]> source.dussan.org Git - aspectj.git/commitdiff
removing 1.4 API
authorwisberg <wisberg>
Thu, 1 May 2003 10:21:00 +0000 (10:21 +0000)
committerwisberg <wisberg>
Thu, 1 May 2003 10:21:00 +0000 (10:21 +0000)
ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java

index c797b0489fdf11370e49e0b8c0c24963633d94da..e65edea36073acb03284eb01ccc0989669976355 100644 (file)
@@ -15,6 +15,7 @@ import org.aspectj.ajde.ui.UserPreferencesAdapter;
 import org.aspectj.ajde.ui.internal.AjcBuildOptions;
 import org.aspectj.ajde.ui.internal.UserPreferencesStore;
 import org.aspectj.ajdt.internal.core.builder.AjBuildConfig;
+import org.aspectj.util.LangUtil;
 import org.eclipse.jdt.internal.compiler.impl.CompilerOptions;
 
 import java.io.File;
@@ -482,9 +483,9 @@ public class BuildConfigurationTests extends AjdeTestCase {
                 
             //Ajde.getDefault().enableLogging( System.out );
         } catch (Throwable t) {
-            AssertionFailedError e = new AssertionFailedError();
-            e.initCause(t);
-            throw e;
+            String s = "Unable to initialize AJDE "
+                + LangUtil.renderException(t);
+            assertTrue(s, false);
         }
        }