diff --git a/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/dom/JavacPackageBinding.java b/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/dom/JavacPackageBinding.java index 29fb7a73e49..f519f5c987f 100644 --- a/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/dom/JavacPackageBinding.java +++ b/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/dom/JavacPackageBinding.java @@ -36,7 +36,7 @@ public JavacPackageBinding(PackageSymbol packge, JavacBindingResolver resolver) @Override public IAnnotationBinding[] getAnnotations() { return this.packageSymbol.getAnnotationMirrors().stream() - .map(am -> new JavacAnnotationBinding(am, resolver)) + .map(am -> new JavacAnnotationBinding(am, resolver, this)) .toArray(IAnnotationBinding[]::new); }