diff options
author | Andy Clement <aclement@pivotal.io> | 2015-05-26 15:12:55 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2015-06-08 08:35:23 -0700 |
commit | e1f6d1fc52d329b018ed11c08cab5011f267c3d0 (patch) | |
tree | f6e01041d784e766bc1a341c75701db454ea575e /tests/bugs186 | |
parent | 066dc11d46731d5a60866dc1ded2dd3e3ef2fcd0 (diff) | |
download | aspectj-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.java | 16 | ||||
-rw-r--r-- | tests/bugs186/lambdaBeans/Foo.java | 4 |
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 {} |