From 79d512f3bd51653b23276bd57832ea7e0857c4c7 Mon Sep 17 00:00:00 2001 From: Rob Stryker Date: Thu, 2 May 2024 10:56:28 -0400 Subject: [PATCH] Fix part of testBug530803_1 Signed-off-by: Rob Stryker --- .../src/org/eclipse/jdt/core/dom/JavacConverter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/core/dom/JavacConverter.java b/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/core/dom/JavacConverter.java index dc5052be50b..ed50aa1f16d 100644 --- a/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/core/dom/JavacConverter.java +++ b/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/core/dom/JavacConverter.java @@ -202,6 +202,8 @@ private ModuleDeclaration convert(JCModuleDecl javac) { } } commonSettings(res, javac); + List l = convert(javac.mods, res); + res.annotations().addAll(l); return res; }