aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/declare
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-08-19 12:29:04 +0000
committeracolyer <acolyer>2004-08-19 12:29:04 +0000
commit65c67a4e848311efb7402f5d06bd1a833720b94b (patch)
treefdb6a106aa7059922e42adb079516a04c4093514 /tests/new/declare
parent2834a7c26b42b8d98af57ef9733ae94fa4aa4a5b (diff)
downloadaspectj-65c67a4e848311efb7402f5d06bd1a833720b94b.tar.gz
aspectj-65c67a4e848311efb7402f5d06bd1a833720b94b.zip
fix for Bugzilla Bug 37020
wrong line for method execution join point
Diffstat (limited to 'tests/new/declare')
-rw-r--r--tests/new/declare/DeclareWarning.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/new/declare/DeclareWarning.java b/tests/new/declare/DeclareWarning.java
index 1ea56b2b8..9f7efccf5 100644
--- a/tests/new/declare/DeclareWarning.java
+++ b/tests/new/declare/DeclareWarning.java
@@ -69,8 +69,8 @@ aspect A {
declare warning: adviceexecution() && within(A)
: "adviceExecution() && within(A)";
- before() : initialization(DeclareWarning.new(..)) {
- // CW 74
+ before() : initialization(DeclareWarning.new(..)) { // CW 72
+
long l = System.currentTimeMillis();
if (0l == l) {
throw new Error("never thrown");