-
Enhancement
-
Resolution: Fixed
-
P2
-
24
-
b27
As a prerequisite for Hermetic Java, we need a statically linked "java" launcher. It should behave like the normal, dynamically linked "java" launcher, except that all JDK native libraries should be statically, not dynamically, linked.
This patch is the first step towards this goal. It will generate a static-jdk image with a statically linked launcher. This launcher is missing several native libs, however, and does therefore not behave like a proper dynamic java. One of the reasons for this is that local symbol hiding in static libraries are not implemented yet, which causes symbol clashes when linking all static libraries together. This will be addressed in an upcoming patch.
This patch is the first step towards this goal. It will generate a static-jdk image with a statically linked launcher. This launcher is missing several native libs, however, and does therefore not behave like a proper dynamic java. One of the reasons for this is that local symbol hiding in static libraries are not implemented yet, which causes symbol clashes when linking all static libraries together. This will be addressed in an upcoming patch.
- relates to
-
JDK-8345507 Fix build of static launcher
-
- Resolved
-
-
JDK-8345590 AIX 'make all' fails after JDK-8339480
-
- Resolved
-
-
JDK-8345352 File src/java.base/share/native/launcher/main.c link error undefined reference to `JLI_InitArgProcessing'
-
- Closed
-
-
JDK-8303796 Optionally build fully statically linked JDK image
-
- Open
-
- links to
-
Commit(master) openjdk/jdk/1ca76445
-
Review(master) openjdk/jdk/20837
(1 links to)