ibmruntimes / openj9-openjdk-jdk17

Extensions for OpenJDK 17 for Eclipse OpenJ9
GNU General Public License v2.0
23 stars 53 forks source link

Restore OpenJCEPlus certified binaries in JRE #373

Closed jasonkatonica closed 1 month ago

jasonkatonica commented 1 month ago

When creating a JRE using the target legacy-jre-image the certified binaries in the openjceplus module are changed due to the use of the --strip-debug argument used with by the jlink command to create the JRE.

This update restores the certified files to their original values that are present in the JDK image. This restoration only occurs if the openjceplus certified binaries are already present after the jlink operation is executed. This update is required since any changes to the FIPS libraries will cause a failure when loading the dll due to a failure during the self verification process done by the library.

Signed-off-by: Jason Katonica katonica@us.ibm.com