Add java8-to-25 module: legacy Java 8 app run on JDK 8, 17 and 25, tool coverage, JVM flags, libraries, OpenRewrite and the fixed version

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b6vDJ5fWY5uEZaJFNi
This commit is contained in:
Claude
2026-12-03 23:45:00 +05:30
parent 3502fd7804
commit 94f8a0e003
82 changed files with 2152 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# javax versus jakarta: what is in the JDK, and what a half-migrated classpath does. Needs Maven.
source "$(dirname "$0")/env.sh"
MVN="mvn -B ${MVN_SETTINGS:+-s $MVN_SETTINGS}"
{ echo '$ java JavaxMap.java # JDK 25'; "$JDK25/bin/java" "$ROOT/probes/javax/JavaxMap.java" 2>&1 | clean; } > "$OUT/25-javax-packages.txt"
cd "$ROOT/probes/mixed"
JAVA_HOME=$JDK25 $MVN -q clean compile dependency:copy-dependencies 2>&1 | grep '^\[ERROR'
{ echo '$ java Mixed # javax annotations on the bean, jakarta JAXB runtime'
"$JDK25/bin/java" -cp "target/classes:target/dependency/*" Mixed 2>&1 | clean | grep -v '^\s*at ' | head -14; } > "$OUT/26-mixed-namespaces.txt"