diff options
author | aclement <aclement> | 2005-12-15 15:57:36 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-12-15 15:57:36 +0000 |
commit | 9abfc4044b23629af408459a3a5c638d7978e443 (patch) | |
tree | f8ae2286550947dc403c7e3115bc56f1ed1898eb /tests | |
parent | f5104819f3199b747ce9a67951457dea1aee3e01 (diff) | |
download | aspectj-9abfc4044b23629af408459a3a5c638d7978e443.tar.gz aspectj-9abfc4044b23629af408459a3a5c638d7978e443.zip |
fixes for 120909 (ibmvm failures)Root_RB_V1_5_0
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs150/pr119749.aj | 6 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/ajc150.xml | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/bugs150/pr119749.aj b/tests/bugs150/pr119749.aj index dc3cc4bb5..81dffa54d 100644 --- a/tests/bugs150/pr119749.aj +++ b/tests/bugs150/pr119749.aj @@ -10,7 +10,7 @@ public aspect pr119749 { // not inherited @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) - @interface Me{} + @interface Me { String value() default "Me"; } static class C { @Me() @@ -53,10 +53,10 @@ public aspect pr119749 { declare warning : execAnyEx() : "aa * *(..) throws Exception"; declare warning : callEx() : "aa call void m() throws Exception"; before(Me me) : @annotation(me) && execMe() { - log(thisJoinPoint, "execMe[" + me + "]"); + log(thisJoinPoint, "execMe[" + me.value() + "]"); } before() : execEx() { log(thisJoinPoint, "execEx"); } } -}
\ No newline at end of file +} diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index fb69bba97..16368f7e6 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -19,7 +19,7 @@ </compile> <run class="pr119749"> <stdout> - <line text="execution(void pr119749.C.m()): execMe[@pr119749$Me()]"/> + <line text="execution(void pr119749.C.m()): execMe[Me]"/> <line text="execution(void pr119749.C.m()): execEx"/> </stdout> </run> |