diff options
author | Till Brychcy | 2017-11-20 22:57:57 +0000 |
---|---|---|
committer | Till Brychcy | 2017-11-21 07:04:47 +0000 |
commit | f30c7e0ad075e552c3dbc7cd43cbc8c6c3f55fbf (patch) | |
tree | 056cf9e7641e4dec282b55815155db1663d1f0f9 /org.eclipse.jdt.compiler.apt.tests | |
parent | c97401f4b9f875eb11b8925d63234153add5b449 (diff) | |
download | eclipse.jdt.core-f30c7e0ad075e552c3dbc7cd43cbc8c6c3f55fbf.tar.gz eclipse.jdt.core-f30c7e0ad075e552c3dbc7cd43cbc8c6c3f55fbf.tar.xz eclipse.jdt.core-f30c7e0ad075e552c3dbc7cd43cbc8c6c3f55fbf.zip |
Bug 527532 - NPE caused in AnnotationDiscoveryVisitor.visit
Change-Id: I4e42d5f14c9e63e4c055353ba1c8732a526c73ca
Diffstat (limited to 'org.eclipse.jdt.compiler.apt.tests')
-rw-r--r-- | org.eclipse.jdt.compiler.apt.tests/resources/targets/negative/pa/Bug527532.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/org.eclipse.jdt.compiler.apt.tests/resources/targets/negative/pa/Bug527532.java b/org.eclipse.jdt.compiler.apt.tests/resources/targets/negative/pa/Bug527532.java new file mode 100644 index 0000000000..09ac1514af --- /dev/null +++ b/org.eclipse.jdt.compiler.apt.tests/resources/targets/negative/pa/Bug527532.java @@ -0,0 +1,14 @@ +package targets.negative.pa; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; + +@Target(ElementType.TYPE_USE) +@interface A { + +} + +// There is no dedicated annotation processor for this class, other process where crashing because of the syntax error (void as field type) +public class Bug527532 { + @A void f; +} |