Skip to content

Commit c2f55fa

Browse files
committed
update jdt to version 3.43
1 parent 7f82af8 commit c2f55fa

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

headless-services/spring-boot-language-server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<properties>
1717
<dependencies.version>${project.version}</dependencies.version>
18-
<jdt.core.version>3.41.0</jdt.core.version>
18+
<jdt.core.version>3.43.0</jdt.core.version>
1919
<lsp4xml.version>0.24.0</lsp4xml.version>
2020
<spring-ai.version>1.0.0</spring-ai.version>
2121
</properties>

headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/java/utils/ASTParserCleanupEnabled.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2024 Broadcom
2+
* Copyright (c) 2024, 2025 Broadcom
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License v1.0
55
* which accompanies this distribution, and is available at
@@ -36,7 +36,7 @@ public class ASTParserCleanupEnabled {
3636

3737
public ASTParserCleanupEnabled(String[] classpathEntries, String[] sourceEntries, String complianceVersion, AnnotationHierarchies annotationHierarchies, boolean ignoreMethodBodies) {
3838
this.annotationHierachies = annotationHierarchies;
39-
parser = ASTParser.newParser(AST.JLS21);
39+
parser = ASTParser.newParser(AST.JLS24);
4040
options = JavaCore.getOptions();
4141
JavaCore.setComplianceOptions(complianceVersion, options);
4242

headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/java/utils/CompilationUnitCache.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2017, 2024 Pivotal, Inc.
2+
* Copyright (c) 2017, 2025 Pivotal, Inc.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License v1.0
55
* which accompanies this distribution, and is available at
@@ -337,14 +337,14 @@ private static CompilationUnit parse2(char[] source, String docURI, String unitN
337337
needToResolveBindings = false;
338338
}
339339

340-
CompilationUnit cu = CUResolver.convert(unit, source, AST.JLS21, options, needToResolveBindings, DefaultWorkingCopyOwner.PRIMARY, flags);
340+
CompilationUnit cu = CUResolver.convert(unit, source, AST.JLS24, options, needToResolveBindings, DefaultWorkingCopyOwner.PRIMARY, flags);
341341

342342
AnnotationHierarchies.set(cu, annotations);
343343
return cu;
344344
}
345345

346346
private static List<Classpath> createClasspath(String[] classpathEntries) {
347-
ASTParser parser = ASTParser.newParser(AST.JLS21);
347+
ASTParser parser = ASTParser.newParser(AST.JLS24);
348348
String[] sourceEntries = new String[] {};
349349
parser.setEnvironment(classpathEntries, sourceEntries, null, false);
350350
return CUResolver.getClasspath(parser);

0 commit comments

Comments
 (0)