]> source.dussan.org Git - aspectj.git/commitdiff
assert in test breaks a test run using -ea
authorAndy Clement <andrew.clement@gmail.com>
Mon, 16 Apr 2012 22:04:02 +0000 (15:04 -0700)
committerAndy Clement <andrew.clement@gmail.com>
Mon, 16 Apr 2012 22:04:02 +0000 (15:04 -0700)
tests/bugs/EnsureOverriding.java

index 6c41e2861f21cbd9482e9bc5d85d8d888bf2bdc6..5ac22d21d6a627cdd447f0c952e73a563158905a 100644 (file)
@@ -20,7 +20,7 @@ public aspect EnsureOverriding pertarget(mustExtend()) {
         execution(void Base+.lockResource(..)) && !within(Base);
  
     after () returning: mustExtend() {
-        assert(calledSuper);
+//        assert(calledSuper);
         if (!calledSuper) { throw new RuntimeException("need super call"); }
     }