bean-mapping: Dozer 7.0.0 vs MapStruct 1.6.3 module (basic/nested/collection/null handling, silent-failure pitfalls, records, lazy getters, parity test, compile-failure demos, JMH benchmark), 14 contract tests
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6ZEVHGaYy15HAxRzy
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
a714780bca
commit
91f0757259
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# Compiles each file in src/broken/ (outside the Maven build) and prints the compiler's own message.
|
||||
# Needs: mvn package already run (target/lib, target/processor) and JAVA_HOME or JDK25_HOME.
|
||||
set -uo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
JAVAC="${JDK25_HOME:+$JDK25_HOME/bin/}javac"
|
||||
for f in src/broken/java/*.java; do
|
||||
OUTDIR=$(mktemp -d)
|
||||
echo "\$ javac -processorpath target/processor/mapstruct-processor-*.jar -cp target/classes:target/lib/mapstruct-*.jar $f"
|
||||
"$JAVAC" -d "$OUTDIR" -proc:full -processorpath "$(ls target/processor/mapstruct-processor-*.jar)" \
|
||||
-cp "target/classes:$(ls target/lib/mapstruct-1*.jar)" "$f" 2>&1 | grep -v "Picked up"
|
||||
echo "javac exit code: ${PIPESTATUS[0]}"
|
||||
echo
|
||||
rm -rf "$OUTDIR"
|
||||
done
|
||||
Reference in New Issue
Block a user