Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSarika Sinha2019-11-15 00:48:59 -0500
committerSarika Sinha2019-11-15 00:48:59 -0500
commitc90af8793f3e49e6987b7f29394594bc1d7e3892 (patch)
tree012a26ee624f0fd757692d1e6d8557404bb42073
parent62050b74fac53d50e60a594ecb3a5be6d7ba9a70 (diff)
downloadeclipse.jdt.core-c90af8793f3e49e6987b7f29394594bc1d7e3892.tar.gz
eclipse.jdt.core-c90af8793f3e49e6987b7f29394594bc1d7e3892.tar.xz
eclipse.jdt.core-c90af8793f3e49e6987b7f29394594bc1d7e3892.zip
Bug 551426 - NPE at org.eclipse.jdt.core.dom.TypeBinding.getAnnotations
-rw-r--r--org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/NullAnnotationModelTests.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/NullAnnotationModelTests.java b/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/NullAnnotationModelTests.java
index 118ee5bd4d..b36337b3a0 100644
--- a/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/NullAnnotationModelTests.java
+++ b/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/NullAnnotationModelTests.java
@@ -1071,6 +1071,7 @@ public class NullAnnotationModelTests extends ReconcilerTests {
}
// was: NPE in SourceTypeBinding.getAnnotationTagBits
+ @SuppressWarnings("deprecation")
public void testBug551426() throws CoreException, Exception {
ASTParser astParser = ASTParser.newParser(AST.JLS8);
Map<String, String> options = new HashMap<>();

Back to the top