-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adopt Jackson 2.15 #5409
Adopt Jackson 2.15 #5409
Conversation
fbce297
to
5db7803
Compare
Signed-off-by: jansupol <jan.supol@oracle.com>
5db7803
to
4311c92
Compare
<para> | ||
If supported by Jackson provider, the default value can differ for each Jackson version. For instance, | ||
Jackson 14 does not support this setting and the default value is <literal>Integer#MAX_VALUE</literal>, | ||
Jackson 15.0 has the default value 5_000_000, Jackson 15.2 has the default value 20_000_000. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Jackson versions are 2.14 and 2.15 - there is no 14 or 15. The 20m limit was brought in in Jackson 2.15.1.
See https://github.com/FasterXML/jackson-core/blob/2.16/release-notes/VERSION-2.x
<section xml:id="mig-2.40-breaking-changes"> | ||
<title>Changes in Jackson</title> | ||
<para> | ||
Jersey 2.41 starts to support Jackson 15 which comes with default limitations for the length of parsed text, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again, no Jackson v15 has ever been released
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, it is 2.15
# 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? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again, no Jackson v15 has ever been released
<artifactId>jackson-14</artifactId> | ||
<name>jersey-compatibility-jackson14</name> | ||
<description> | ||
Controls the backward compatibility with Jackson 14 environment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again, no Jackson v14 has ever been released
@@ -44,6 +44,7 @@ | |||
<module>j-376</module> | |||
<module>j-441</module> | |||
<module>j-59</module> | |||
<module>jackson-14</module> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again, no Jackson v14 has ever been released
No description provided.