Skip to content

Commit

Permalink
Include jdk.crypto.mscapi in minimized Windows embedded JDK (#15342)
Browse files Browse the repository at this point in the history
Fixes: #15305

Closes #15306.

PiperOrigin-RevId: 443624925
  • Loading branch information
foxandi authored Apr 28, 2022
1 parent b840615 commit 4fd7983
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/minimize_jdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ if [[ "$UNAME" =~ msys_nt* ]]; then
cd "tmp.$$"
unzip "../$fulljdk"
cd $FULL_JDK_DIR
# We have to add this module explicitly because it is windows specific, it allows
# the usage of the Windows truststore
# e.g. -Djavax.net.ssl.trustStoreType=WINDOWS-ROOT
modules="$modules,jdk.crypto.mscapi"
./bin/jlink --module-path ./jmods/ --add-modules "$modules" \
--vm=server --strip-debug --no-man-pages \
--output reduced
Expand Down

0 comments on commit 4fd7983

Please sign in to comment.