aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-08-19 16:38:34 +0000
committeracolyer <acolyer>2004-08-19 16:38:34 +0000
commite41a5dd70aa2c92c190f0c42bb72243db6748373 (patch)
tree6b6d731b169a77cff7474a44cdfad115e6d143cd
parentdbe1024f852c600d2752e5f39eb31ca4f5d72de9 (diff)
downloadaspectj-e41a5dd70aa2c92c190f0c42bb72243db6748373.tar.gz
aspectj-e41a5dd70aa2c92c190f0c42bb72243db6748373.zip
fix for Bugzilla Bug 37020
wrong line for method execution join point
-rw-r--r--tests/design/sourceLines/TestSourceLines.java2
-rw-r--r--tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml8
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/design/sourceLines/TestSourceLines.java b/tests/design/sourceLines/TestSourceLines.java
index 8a97048e8..f3613532c 100644
--- a/tests/design/sourceLines/TestSourceLines.java
+++ b/tests/design/sourceLines/TestSourceLines.java
@@ -41,7 +41,7 @@ aspect CheckLineNumbers { // L39
declare warning : execution(* TestSourceLines.*(..)) : "method execution";
declare warning : execution(TestSourceLines.new(..)) : "cons execution";
declare warning : staticinitialization(*) : "static init";
- declare warning : initialization(*.new(..)) : "init";
+ declare warning : initialization(*.new(..)) : "just-init";
declare warning : preinitialization(*.new(..)) : "pre-init";
before() : execution(* TestSourceLines.*(..)) { // L47
diff --git a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
index 94c9db44f..9ec3782b4 100644
--- a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
+++ b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
@@ -362,18 +362,18 @@
<message kind="warning" line="5" text="static init"/>
<message kind="warning" line="12" text="cons execution"/>
<message kind="warning" line="12" text="pre-init"/>
- <message kind="warning" line="12" text="init"/>
+ <message kind="warning" line="12" text="just-init"/>
<message kind="warning" line="16" text="cons execution"/>
- <message kind="warning" line="16" text="init"/>
+ <message kind="warning" line="16" text="just-init"/>
<message kind="warning" line="16" text="pre-init"/>
<message kind="warning" line="20" text="method execution"/>
<message kind="warning" line="24" text="method execution"/>
<message kind="warning" line="28" text="method execution"/>
<message kind="warning" line="35" text="static init"/>
- <message kind="warning" line="35" text="init"/>
+ <message kind="warning" line="35" text="just-init"/>
<message kind="warning" line="35" text="pre-init"/>
<message kind="warning" line="39" text="pre-init"/>
- <message kind="warning" line="39" text="init"/>
+ <message kind="warning" line="39" text="just-init"/>
<message kind="warning" line="39" text="static init"/>
<message kind="warning" line="47" text="advice"/>
</compile>