Skip to content

Commit a158eb0

Browse files
authored
Merge pull request #1445 from DependencyTrack/nscuro-patch-1
2 parents 44190c5 + cca8753 commit a158eb0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apiserver/src/main/docker/create-jre.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,10 @@ fi
6161
work_dir="$(mktemp -d)"
6262

6363
# Module dependencies that jdeps fails to detect.
64+
# java.net.http: Required for Java's HttpClient.
6465
# jdk.crypto.ec: Required for TLS connections that use elliptic curve cryptography.
6566
# jdk.zipfs: Required by code that reads files from JAR files at runtime.
66-
static_module_deps='jdk.crypto.ec,jdk.zipfs'
67+
static_module_deps='java.net.http,jdk.crypto.ec,jdk.zipfs'
6768

6869
echo "[+] extracting $(basename "${input_jar}") to ${work_dir}"
6970
unzip -qq "${input_jar}" -d "${work_dir}"
@@ -90,4 +91,4 @@ jlink \
9091
--output "${output_dir}"
9192

9293
echo "[+] removing ${work_dir}"
93-
rm -rf "${work_dir}"
94+
rm -rf "${work_dir}"

0 commit comments

Comments
 (0)