From ca84e4c23db3f6b9c3bb17d3e884ed6d628a91e6 Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Mon, 16 Apr 2012 15:04:02 -0700 Subject: [PATCH] assert in test breaks a test run using -ea --- tests/bugs/EnsureOverriding.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bugs/EnsureOverriding.java b/tests/bugs/EnsureOverriding.java index 6c41e2861..5ac22d21d 100644 --- a/tests/bugs/EnsureOverriding.java +++ b/tests/bugs/EnsureOverriding.java @@ -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"); } } -- 2.39.5