From 90755145cb6e6418584d8603cd5fa9afbb30aecc Mon Sep 17 00:00:00 2001 From: Tobias Werth Date: Sun, 3 Feb 2019 07:28:11 -0800 Subject: [PATCH] Explicitly add jdk.crypto.ec to the list of modules. JDK 11 adds support for TLSv1.3 but the handshake while downloading from github fails while download external repositories. RELNOTES: Explicitly set https.protocols and exclude TLSv1.3. Partly address #6592. Closes #7337. PiperOrigin-RevId: 232191351 --- src/minimize_jdk.sh | 3 +++ 1 file changed, 3 insertions(+) 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