diff --git a/src/minimize_jdk.sh b/src/minimize_jdk.sh index 05f4a9d9b0b1a9..cfa7760a4c0af9 100755 --- a/src/minimize_jdk.sh +++ b/src/minimize_jdk.sh @@ -24,6 +24,9 @@ if [ "$1" == "--allmodules" ]; then modules="ALL-MODULE-PATH" else modules=$(cat "$2" | paste -sd "," - | tr -d '\r') + # We have to add this module explicitly because jdeps doesn't find the + # dependency on it but it is still necessary for TLSv1.3. + modules="$modules,jdk.crypto.ec" fi fulljdk=$1 out=$3