Skip to content

Commit

Permalink
Include jdk.crypto.mscapi in minimized Windows embedded JDK
Browse files Browse the repository at this point in the history
  • Loading branch information
foxandi authored Apr 21, 2022
1 parent 97cd295 commit 330efca
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 330efca

Please sign in to comment.