Skip to content

Commit c94572b

Browse files
foxandicopybara-github
authored andcommitted
Include jdk.crypto.mscapi in minimized Windows embedded JDK
Fixes: #15305 Closes #15306. PiperOrigin-RevId: 443624925
1 parent 26ed88d commit c94572b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/minimize_jdk.sh

+4
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ if [[ "$UNAME" =~ msys_nt* ]]; then
4747
cd "tmp.$$"
4848
unzip "../$fulljdk"
4949
cd $FULL_JDK_DIR
50+
# We have to add this module explicitly because it is windows specific, it allows
51+
# the usage of the Windows truststore
52+
# e.g. -Djavax.net.ssl.trustStoreType=WINDOWS-ROOT
53+
modules="$modules,jdk.crypto.mscapi"
5054
./bin/jlink --module-path ./jmods/ --add-modules "$modules" \
5155
--vm=server --strip-debug --no-man-pages \
5256
--output reduced

0 commit comments

Comments
 (0)