mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
In Spring Boot 3.x with Jackson 2, a null (or missing) value for a primitive would be mapped to the primitive's default value. In Jackson 3, the default behavior is to fail instead. This causes a failure when trying to deserialize Podman's `docker context ls response` as it is not in the expected format and has no entry for `current` that's mapped to a boolean. This commit disables FAIL_ON_NULL_FOR_PRIMITIVES to restore the behavior that we had with Jackson 2 in Spring Boot 3.x. Closes gh-47971