Skip to content

Commit

Permalink
Upgrade to Jackson 2.14.0-rc3
Browse files Browse the repository at this point in the history
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
FasterXML/jackson-core#824, and
FasterXML/jackson-module-kotlin#582.

Closes gh-29405
  • Loading branch information
poutsma committed Oct 31, 2022
1 parent bf3b7b8 commit ca33752
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion framework-platform/framework-platform.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,7 @@ void wellKnownModules() throws JsonProcessingException, UnsupportedEncodingExcep

// 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
Expand Down

0 comments on commit ca33752

Please sign in to comment.