From 2f7e558e586788110dfda603652f68915d890cb0 Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Tue, 3 Mar 2026 01:29:35 -0800 Subject: [PATCH] Use JDK 21 for Eclipse plugin The plugin is failing to build after changes in [1] to add usages of records. [1] https://github.com/google/google-java-format/commit/496299310ed44c732ef410a729d477ee03868bf7 https://github.com/google/google-java-format/actions/runs/22568168992/job/65368984173 PiperOrigin-RevId: 877811635 --- eclipse_plugin/META-INF/MANIFEST.MF | 2 +- eclipse_plugin/pom.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eclipse_plugin/META-INF/MANIFEST.MF b/eclipse_plugin/META-INF/MANIFEST.MF index 4170ad643..684852c45 100644 --- a/eclipse_plugin/META-INF/MANIFEST.MF +++ b/eclipse_plugin/META-INF/MANIFEST.MF @@ -4,7 +4,7 @@ Bundle-Name: google-java-format Bundle-SymbolicName: google-java-format-eclipse-plugin;singleton:=true Bundle-Vendor: Google Bundle-Version: 1.31.0 -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-21 Require-Bundle: org.eclipse.jdt.core;bundle-version="3.10.0", org.eclipse.jface, org.eclipse.text, diff --git a/eclipse_plugin/pom.xml b/eclipse_plugin/pom.xml index a5d8c23ae..a4028d242 100644 --- a/eclipse_plugin/pom.xml +++ b/eclipse_plugin/pom.xml @@ -32,7 +32,7 @@ UTF-8 - 3.0.5 + 5.0.2 @@ -132,8 +132,8 @@ maven-compiler-plugin 3.7.0 - 11 - 11 + 21 + 21