From e558260df5eb1229c9be66807800f70fc2b465f1 Mon Sep 17 00:00:00 2001
From: SylvainJuge <763082+SylvainJuge@users.noreply.github.com>
Date: Tue, 3 Oct 2023 13:40:25 +0200
Subject: [PATCH] fix java 11 and java 21 test failures (#3344)
* keep java11 compat. for jsonunit
* use GA JDK 21
---
.github/workflows/main.yml | 2 +-
pom.xml | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 9aa49d1c72..6842516d9f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -296,7 +296,7 @@ jobs:
distribution: 'temurin'
- version: 20
distribution: 'temurin'
- - version: 21-ea
+ - version: 21
distribution: 'zulu'
steps:
- uses: actions/checkout@v3
diff --git a/pom.xml b/pom.xml
index bff627824c..5e6e281cf1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -142,6 +142,9 @@
1.16.3
+
+ 2.38.0
+
UTF-8
UTF-8
@@ -768,7 +771,7 @@
net.javacrumbs.json-unit
json-unit-assertj
- 3.2.2
+ ${version.jsonunit}
test