Upgrade to Jackson Bom 2.19.0
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[early-access:true toolchain:true version:24], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[early-access:true toolchain:true version:24], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:22], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:22], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:false version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details

Closes gh-45542
This commit is contained in:
Stéphane Nicoll 2025-05-14 12:38:43 +02:00
parent 2ca0ac075b
commit e1ff4fbaf9
4 changed files with 11 additions and 8 deletions

View File

@ -11,7 +11,7 @@ checkstyleToolVersion=10.12.4
commonsCodecVersion=1.18.0
graalVersion=22.3
hamcrestVersion=3.0
jacksonVersion=2.18.4
jacksonVersion=2.19.0
javaFormatVersion=0.0.43
junitJupiterVersion=5.12.2
kotlinVersion=1.9.25

View File

@ -692,7 +692,10 @@ bom {
because "we don't want release candidates"
}
group("com.fasterxml.jackson") {
bom("jackson-bom")
bom("jackson-bom") {
permit("com.fasterxml.woodstox:woodstox-core")
permit("org.codehaus.woodstox:stax2-api")
}
}
links {
releaseNotes("https://github.com/FasterXML/jackson/wiki/Jackson-Release-{version}")

View File

@ -118,8 +118,8 @@ final class BuildpackLayersMetadata extends MappedObject {
private static Buildpacks fromJson(JsonNode node) {
Buildpacks buildpacks = new Buildpacks();
node.fields()
.forEachRemaining((field) -> buildpacks.addBuildpackVersions(field.getKey(),
node.properties()
.forEach((field) -> buildpacks.addBuildpackVersions(field.getKey(),
BuildpackVersions.fromJson(field.getValue())));
return buildpacks;
}
@ -140,8 +140,8 @@ final class BuildpackLayersMetadata extends MappedObject {
private static BuildpackVersions fromJson(JsonNode node) {
BuildpackVersions versions = new BuildpackVersions();
node.fields()
.forEachRemaining((field) -> versions.addBuildpackVersion(field.getKey(),
node.properties()
.forEach((field) -> versions.addBuildpackVersion(field.getKey(),
BuildpackLayerDetails.fromJson(field.getValue())));
return versions;
}

View File

@ -90,8 +90,8 @@ public class MappedObject {
protected <V> Map<String, V> mapAt(String expression, Function<JsonNode, V> valueMapper) {
Map<String, V> map = new LinkedHashMap<>();
getNode().at(expression)
.fields()
.forEachRemaining((entry) -> map.put(entry.getKey(), valueMapper.apply(entry.getValue())));
.properties()
.forEach((entry) -> map.put(entry.getKey(), valueMapper.apply(entry.getValue())));
return Collections.unmodifiableMap(map);
}