From 8713bbd0671028b7da02ed0b9971997eae30c822 Mon Sep 17 00:00:00 2001 From: Remko Popma Date: Mon, 31 Oct 2022 15:03:17 -0400 Subject: [PATCH] DOC: add caveat to workaround for https://github.com/oracle/graal/issues/1762 --- docs/index.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/index.adoc b/docs/index.adoc index 060988a3f..2e664aa6d 100644 --- a/docs/index.adoc +++ b/docs/index.adoc @@ -12975,6 +12975,13 @@ Many thanks to https://github.com/mmellon[Matthew Mellon] for https://github.com pefrmdllembed -impinj VCRUNTIME140.DLL your-native-image.exe your-native-image-fixed.exe ---- +[quote] +____ +Caveat for the above workaround: + +If you embed `MSVCR100.DLL` or `VCRUNTIME140.DLL` in your exe rather than create an installer that installs a dependency, you will probably lose the ability of Windows to apply updates for vulnerabilities in the shared runtime that might impact the security of your application. Windows installer has magic to keep you from downgrading the DLL in `%System32%`, and, once it is installed, I believe Windows Update keeps it up-to-date. +____ + ==== === Really Executable JAR