We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44190c5 + cca8753 commit a158eb0Copy full SHA for a158eb0
apiserver/src/main/docker/create-jre.sh
@@ -61,9 +61,10 @@ fi
61
work_dir="$(mktemp -d)"
62
63
# Module dependencies that jdeps fails to detect.
64
+# java.net.http: Required for Java's HttpClient.
65
# jdk.crypto.ec: Required for TLS connections that use elliptic curve cryptography.
66
# jdk.zipfs: Required by code that reads files from JAR files at runtime.
-static_module_deps='jdk.crypto.ec,jdk.zipfs'
67
+static_module_deps='java.net.http,jdk.crypto.ec,jdk.zipfs'
68
69
echo "[+] extracting $(basename "${input_jar}") to ${work_dir}"
70
unzip -qq "${input_jar}" -d "${work_dir}"
@@ -90,4 +91,4 @@ jlink \
90
91
--output "${output_dir}"
92
93
echo "[+] removing ${work_dir}"
-rm -rf "${work_dir}"
94
+rm -rf "${work_dir}"
0 commit comments