From 99733ab33d92f0f157ed5f207e030939b5aa8332 Mon Sep 17 00:00:00 2001 From: jansupol Date: Tue, 26 Sep 2023 15:01:51 +0200 Subject: [PATCH] Fix Jackson 15 -> Jackson 2.15 Signed-off-by: jansupol --- docs/src/main/docbook/migration.xml | 2 +- .../org/glassfish/jersey/jackson/localization.properties | 2 +- tests/integration/jackson-14/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/main/docbook/migration.xml b/docs/src/main/docbook/migration.xml index 2fcb7e55088..0e77e53c963 100644 --- a/docs/src/main/docbook/migration.xml +++ b/docs/src/main/docbook/migration.xml @@ -33,7 +33,7 @@
Changes in Jackson - Jersey 2.41 starts to support Jackson 15 which comes with default limitations for the length of parsed text, + Jersey 2.41 starts to support Jackson 2.15 which comes with default limitations for the length of parsed text, numbers, and nesting depth. Jersey keeps the Jackson default value, but it allows to override the maximum length of parsed text using the &jersey.message.MessageProperties.JSON_MAX_STRING_LENGTH; property if needed. diff --git a/media/json-jackson/src/main/resources/org/glassfish/jersey/jackson/localization.properties b/media/json-jackson/src/main/resources/org/glassfish/jersey/jackson/localization.properties index 7a5632ccf35..f8b59da71ce 100644 --- a/media/json-jackson/src/main/resources/org/glassfish/jersey/jackson/localization.properties +++ b/media/json-jackson/src/main/resources/org/glassfish/jersey/jackson/localization.properties @@ -14,4 +14,4 @@ # SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 # -error.jackson.streamreadconstraints=Error setting StreamReadConstraints: {0}. Possibly not Jackson 15? \ No newline at end of file +error.jackson.streamreadconstraints=Error setting StreamReadConstraints: {0}. Possibly not Jackson 2.15? \ No newline at end of file diff --git a/tests/integration/jackson-14/pom.xml b/tests/integration/jackson-14/pom.xml index a07de08b534..b0b815155c9 100644 --- a/tests/integration/jackson-14/pom.xml +++ b/tests/integration/jackson-14/pom.xml @@ -30,7 +30,7 @@ jackson-14 jersey-compatibility-jackson14 - Controls the backward compatibility with Jackson 14 environment + Controls the backward compatibility with Jackson 2.14 environment