This enhancement adds the ability to perform a JDK 9 static build for MacOSX x64 platforms.
It provides a new configure option --enable-static-builds=yes to enable this build option.
This change paves the way to enable the creation of static binaries for new JDK 9 platforms which do not allow dynamic shared libraries.
This change compliments the JNI specification change that was done in JDK 8 (https://bugs.openjdk.java.net/browse/JDK-8005716)
and provides the ability to produce a Java runtime made completely from static binaries.
The images produced from these changes produce individual static library archive files for each native library contained in the JDK.
Launchers are produced (java, java, etc) which bind to the java.base and jdk.jdwp.agent libraries in order to validate that there are
no duplicate symbols in these libraries.
It provides a new configure option --enable-static-builds=yes to enable this build option.
This change paves the way to enable the creation of static binaries for new JDK 9 platforms which do not allow dynamic shared libraries.
This change compliments the JNI specification change that was done in JDK 8 (https://bugs.openjdk.java.net/browse/JDK-8005716)
and provides the ability to produce a Java runtime made completely from static binaries.
The images produced from these changes produce individual static library archive files for each native library contained in the JDK.
Launchers are produced (java, java, etc) which bind to the java.base and jdk.jdwp.agent libraries in order to validate that there are
no duplicate symbols in these libraries.
- relates to
-
JDK-8163952 jlink exclude VM plugin does not support static libraries
-
- Closed
-
-
JDK-8164999 libjimage.so does not work when linked statically
-
- Closed
-