aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs186
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2015-05-26 15:12:55 -0700
committerAndy Clement <aclement@pivotal.io>2015-06-08 08:35:23 -0700
commite1f6d1fc52d329b018ed11c08cab5011f267c3d0 (patch)
treef6e01041d784e766bc1a341c75701db454ea575e /tests/bugs186
parent066dc11d46731d5a60866dc1ded2dd3e3ef2fcd0 (diff)
downloadaspectj-e1f6d1fc52d329b018ed11c08cab5011f267c3d0.tar.gz
aspectj-e1f6d1fc52d329b018ed11c08cab5011f267c3d0.zip
allow reflection world to resolve generated types (e.g. lambdas)
1.8.6 release prep 1.8.6 pom updates Fix rogue chars in javadoc rebuilt with javadoc fixes
Diffstat (limited to 'tests/bugs186')
-rw-r--r--tests/bugs186/lambdaBeans/Application.java16
-rw-r--r--tests/bugs186/lambdaBeans/Foo.java4
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/bugs186/lambdaBeans/Application.java b/tests/bugs186/lambdaBeans/Application.java
new file mode 100644
index 000000000..f98a49a5e
--- /dev/null
+++ b/tests/bugs186/lambdaBeans/Application.java
@@ -0,0 +1,16 @@
+public class Application {
+
+ @Foo
+ Runnable fromInnerClass() {
+ return new Runnable() {
+ @Override
+ public void run() {
+ }
+ };
+ }
+
+ @Foo
+ Runnable fromLambdaExpression() {
+ return () -> { };
+ }
+}
diff --git a/tests/bugs186/lambdaBeans/Foo.java b/tests/bugs186/lambdaBeans/Foo.java
new file mode 100644
index 000000000..60e42f6e2
--- /dev/null
+++ b/tests/bugs186/lambdaBeans/Foo.java
@@ -0,0 +1,4 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+@interface Foo {}