diff options
Diffstat (limited to 'tests/bugs150')
-rw-r--r-- | tests/bugs150/pr119749.aj | 6 |
1 files changed, 3 insertions, 3 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 +} |