Applying JEP 493 results in "has been modified error"
Armin Schrenk
armin.schrenk at skymatic.de
Tue May 20 12:12:02 UTC 2025
Hi all,
I need to build the JDK due to a strict security environment. The build
system is Ubuntu 22.04 x64 6.8.0 kernel inside a VM.
I read about JEP 493 (https://openjdk.org/jeps/493) and used the option
"--enable-linkable-runtime". My configure command is:
configure \
--with-conf-name=coffeelibs-openjdk-24 \
--with-boot-jdk=/path/to/jdk23 \
--with-version-pre= \
--with-version-string="24.0.1+9" \
--with-version-opt=coffeelibs \
--with-native-debug-symbols=none \
--enable-linkable-runtime
The jlink tool of this JDK is used later on. But when i try to build a
minial jre with "coffeelibs-openjdk-24/bin/jlink --output runtime
--module-path "coffeelibs-openjdk-24/jmods" --add-modules java.base",
it throws the "... has been modified" error mentioned in the JEP, not
for cacerts or other config files, **but binaries (e.g. java or
lib/libextnet.so ).**
Does anyone know where the problem is?
Best regards,
--
Armin Schrenk
Skymatic GmbH, Am Hauptbahnhof 6, 53111 Bonn
Sitz der Gesellschaft: Bonn; Amtsgericht Bonn, HRB 22635
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20250520/e90b2cf3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4964 bytes
Desc: Kryptografische S/MIME-Signatur
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20250520/e90b2cf3/smime-0001.p7s>
More information about the build-dev
mailing list