From dbcce63b925118bb1ba35455a684a21620a250ac Mon Sep 17 00:00:00 2001 From: Vibhatha Lakmal Abeykoon Date: Thu, 6 Jun 2024 10:42:47 +0530 Subject: [PATCH] MINOR: [Java] Bump com.google.errorprone:error_prone_core from 2.10.0 to 2.28.0 in /java - Manual Fix (#41996) ### Rationale for this change Based on the [dependabot PR ](https://github.com/apache/arrow/pull/41944), making correct amendments to reflect the necessary error-prone library upgrade. ### What changes are included in this PR? - [X] Upgrade error-prone version for JDK 11+ - [X] Keeping the existing error-prone version for JDK 8, and added notes and references as reasoning. ### Are these changes tested? Tested by existing build. ### Are there any user-facing changes? No Authored-by: Vibhatha Abeykoon Signed-off-by: David Li --- java/pom.xml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/java/pom.xml b/java/pom.xml index a59d29c576398..0e9b7f0e25a34 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -94,9 +94,7 @@ 2 true 9+181-r4173-1 - 2.24.0 - 2.24.0 - 2.10.0 + 2.28.0 3.12.1 5.11.0 5.2.0 @@ -946,6 +944,9 @@ Do not activate Error Prone while running with Eclipse/M2E as it causes incompatibilities with other annotation processors. See https://github.com/jbosstools/m2e-apt/issues/62 for details + + Note: Maintaining error-prone version with JDK8 + See https://github.com/google/error-prone/blob/f8e33bc460be82ab22256a7ef8b979d7a2cacaba/docs/installation.md#jdk-8 --> 1.8 @@ -969,6 +970,13 @@ com.google.errorprone error_prone_core + 2.10.0