diff options
author | Andy Clement <andrew.clement@gmail.com> | 2012-04-16 15:04:02 -0700 |
---|---|---|
committer | Andy Clement <andrew.clement@gmail.com> | 2012-04-16 15:04:02 -0700 |
commit | ca84e4c23db3f6b9c3bb17d3e884ed6d628a91e6 (patch) | |
tree | 854c8ca0b2af7ef2abd94839010703a85a3b14d9 | |
parent | 503bc62a4441ca925873b92a6d27170673461ebf (diff) | |
download | aspectj-ca84e4c23db3f6b9c3bb17d3e884ed6d628a91e6.tar.gz aspectj-ca84e4c23db3f6b9c3bb17d3e884ed6d628a91e6.zip |
assert in test breaks a test run using -ea
-rw-r--r-- | tests/bugs/EnsureOverriding.java | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } } |