java-time: java.time on Jackson 3 vs 2, @JsonFormat, time zones, Spring Boot 4.2 spring.jackson.*

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b4HkWoC7hLzk61vZa8
This commit is contained in:
2026-12-03 23:41:03 +05:30
co-authored by Claude Sonnet 5.5
parent f5ed5d1605
commit 26f64bc184
42 changed files with 1505 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
# Regenerates every file in output/. Run from the module directory: ./scripts/run-all.sh
# Needs JDK 25 and Maven. The Spring Boot examples are in boot/ and run from ./scripts/run-boot.sh
set -euo pipefail
cd "$(dirname "$0")/.."
MVN="mvn -B ${MVN_ARGS:-}"
$MVN -q compile 2>&1 | grep -vE "Picked up|WARNING" || true
$MVN -q dependency:build-classpath -Dmdep.outputFile=target/cp.txt >/dev/null 2>&1
CP="target/classes:$(cat target/cp.txt)"
mkdir -p output
n=1
for src in src/main/java/com/ankurm/javatime/T[0-9][0-9]*.java; do
c=$(basename "$src" .java)
out="output/${c:1:2}-${c:3}.txt"
java -Duser.timezone=UTC -Duser.language=en -Duser.country=US -Dstdout.encoding=UTF-8 -cp "$CP" "com.ankurm.javatime.$c" 2>&1 | grep -vE "Picked up|^WARNING" > "$out"
echo "ran $c ($(wc -l < "$out") lines)"
done
./scripts/broken.sh