]> source.dussan.org Git - aspectj.git/commitdiff
Removed 1.4 api (doh!)
authoraclement <aclement>
Wed, 18 Aug 2004 09:53:28 +0000 (09:53 +0000)
committeraclement <aclement>
Wed, 18 Aug 2004 09:53:28 +0000 (09:53 +0000)
tests/bugs/pr62642.java
tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java

index 30cc506113f68939e3766e8b6b357f6c53aed184..07ea579a5a8bd8896cc8964392f929d56312f3aa 100644 (file)
@@ -20,7 +20,7 @@ public class pr62642 {
          C.main(null);   
         } catch (ExceptionInInitializerError eiie) {
                System.err.println("EIIE="+eiie.toString());
-            System.err.println("CAUSE="+eiie.getCause().toString());
+            //System.err.println("CAUSE="+eiie.getCause().toString());
         }
        }
 }
index 6127997d220fe4cf0f4f99d41d80cdb2111b7948..c857b40cab66b3a4c65faf7434d70dce683b3acf 100644 (file)
@@ -231,10 +231,12 @@ public class Ajc121Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
     String s = getLastRunResult().getStdErr();
     assertTrue("Output should contain java.lang.ExceptionInInitializerError but is '"+s+"'",
             s.indexOf("java.lang.ExceptionInInitializerError")!=-1);
-    assertTrue("Output should contain 'CAUSE=org.aspectj.lang.NoAspectBoundException' but is '"+s+"'",
-            s.indexOf("CAUSE=org.aspectj.lang.NoAspectBoundException")!=-1);
+    // No getCause on 1.3 JVMs
+//    assertTrue("Output should contain 'CAUSE=org.aspectj.lang.NoAspectBoundException' but is '"+s+"'",
+//            s.indexOf("CAUSE=org.aspectj.lang.NoAspectBoundException")!=-1);
   }
   
+  
   public void test044_ITDnameClashes() {
        runTest("ITD name clashes with private members");
   }