diff --git a/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/ast/TypeDeclaration.java b/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/ast/TypeDeclaration.java index 545efa26cfc..1168577e875 100644 --- a/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/ast/TypeDeclaration.java +++ b/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/ast/TypeDeclaration.java @@ -1898,7 +1898,7 @@ public void updateSupertypesWithAnnotations(Map updates = new HashMap<>(); + Map updates = new HashMap<>(); if (this.typeParameters != null) { for (TypeParameter typeParameter : this.typeParameters) { typeParameter.updateWithAnnotations(this.scope); // TODO: need to integrate with outerUpdates/updates?