aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features161
diff options
context:
space:
mode:
authoraclement <aclement>2011-05-31 22:12:57 +0000
committeraclement <aclement>2011-05-31 22:12:57 +0000
commitabbf983fae6fe4f2b5f61f4a77b5927c8bcc7b01 (patch)
treea5b712eb60a8e1d3bff0e704796a83e8396228cb /tests/features161
parentb1e8f4d8bc96d3cd83e093396645152b0cffdf70 (diff)
downloadaspectj-abbf983fae6fe4f2b5f61f4a77b5927c8bcc7b01.tar.gz
aspectj-abbf983fae6fe4f2b5f61f4a77b5927c8bcc7b01.zip
347684: testcode
Diffstat (limited to 'tests/features161')
-rw-r--r--tests/features161/optimizedAnnotationBinding/CaseFive.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/features161/optimizedAnnotationBinding/CaseFive.java b/tests/features161/optimizedAnnotationBinding/CaseFive.java
index dc168f154..3f4c69e1e 100644
--- a/tests/features161/optimizedAnnotationBinding/CaseFive.java
+++ b/tests/features161/optimizedAnnotationBinding/CaseFive.java
@@ -8,16 +8,16 @@ public class CaseFive {
o.a();
}
- @Anno(4) public void a() {}
+ @Anno(4.0f) public void a() {}
}
@Retention(RetentionPolicy.RUNTIME)
-@interface Anno { int value(); }
+@interface Anno { float value(); }
aspect X {
- before(int l): execution(@Anno * *(..)) && @annotation(Anno(l)) {
+ before(float l): execution(@Anno * *(..)) && @annotation(Anno(l)) {
System.out.println(l);
}
}