java8-to-25: fix the Base64 replacement (sun.misc wraps with a bare newline) and add the wrapping probe
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6vDJ5fWY5uEZaJFNi
This commit is contained in:
@@ -32,3 +32,8 @@ if [ -n "${JDK17:-}" ]; then
|
||||
{ echo '$ java -cp classes-built-by-jdk8 com.ankurm.legacy.App # JDK 17, the middle of the staged path'
|
||||
"$JDK17/bin/java" -cp "$WORK/c8" com.ankurm.legacy.App 2>&1 | clean; } > "$OUT/03b-jdk8-classes-on-jdk17.txt"
|
||||
fi
|
||||
|
||||
# Is the obvious sun.misc replacement byte-for-byte the same? (JDK 8, where both exist.)
|
||||
rm -rf "$WORK/b64"; mkdir -p "$WORK/b64"
|
||||
"$JDK8/bin/javac" -nowarn -XDignore.symbol.file -d "$WORK/b64" "$ROOT/probes/base64/Wrap.java" 2>&1 | clean | grep -v -e proprietary -e BASE64Encoder -e '\^' -e warning
|
||||
{ echo '$ java Wrap # JDK 8, encoding 100 zero bytes'; "$JDK8/bin/java" -cp "$WORK/b64" Wrap 2>&1 | clean; } > "$OUT/28-base64-wrapping.txt"
|
||||
|
||||
Reference in New Issue
Block a user