Upgrade to Jackson 2.14.0-rc3
This commit upgrades Jackson to 2.14.0-rc3, which resolves two outstanding issues Spring Framework had with rc2. This commit reverts the changes made due to those issues, see https://github.com/FasterXML/jackson-core/issues/824, and https://github.com/FasterXML/jackson-module-kotlin/issues/582. Closes gh-29405
This commit is contained in:
@@ -41,7 +41,7 @@ public class CompilerConventions {
|
||||
|
||||
static {
|
||||
List<String> commonCompilerArgs = Arrays.asList(
|
||||
"-Xlint:serial", "-Xlint:cast", "-Xlint:-classfile", "-Xlint:dep-ann",
|
||||
"-Xlint:serial", "-Xlint:cast", "-Xlint:classfile", "-Xlint:dep-ann",
|
||||
"-Xlint:divzero", "-Xlint:empty", "-Xlint:finally", "-Xlint:overrides",
|
||||
"-Xlint:path", "-Xlint:processing", "-Xlint:static", "-Xlint:try", "-Xlint:-options",
|
||||
"-parameters"
|
||||
|
||||
@@ -7,7 +7,7 @@ javaPlatform {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(platform("com.fasterxml.jackson:jackson-bom:2.14.0-rc2"))
|
||||
api(platform("com.fasterxml.jackson:jackson-bom:2.14.0-rc3"))
|
||||
api(platform("io.micrometer:micrometer-bom:1.10.0-RC1"))
|
||||
api(platform("io.netty:netty-bom:4.1.84.Final"))
|
||||
api(platform("io.netty:netty5-bom:5.0.0.Alpha5"))
|
||||
|
||||
@@ -289,8 +289,7 @@ class Jackson2ObjectMapperBuilderTests {
|
||||
|
||||
// Kotlin module
|
||||
IntRange range = new IntRange(1, 3);
|
||||
// temporarily change the assertion, see https://github.com/FasterXML/jackson-module-kotlin/issues/582
|
||||
assertThat(new String(objectMapper.writeValueAsBytes(range), "UTF-8")).isEqualTo("{\"start\":1,\"end\":3,\"endExclusive\":4}");
|
||||
assertThat(new String(objectMapper.writeValueAsBytes(range), "UTF-8")).isEqualTo("{\"start\":1,\"end\":3}");
|
||||
}
|
||||
|
||||
@Test // gh-22576
|
||||
|
||||
Reference in New Issue
Block a user