Skip to content

Merge jdk8u392-b07 and the latest OpenJ9 changes to 0.41 - #702

Merged
JasonFengJ9 merged 7 commits into
v0.41.0-releasefrom
openj9
Oct 3, 2023
Merged

Merge jdk8u392-b07 and the latest OpenJ9 changes to 0.41#702
JasonFengJ9 merged 7 commits into
v0.41.0-releasefrom
openj9

Conversation

@pshipton

@pshipton pshipton commented Oct 3, 2023

Copy link
Copy Markdown
Member

No description provided.

jerboaa and others added 7 commits September 18, 2023 09:06
Reviewed-by: andrew
Backport-of: a44f8b059847135ecd0618cb04abbb0d2be1d2d0
AIX puts zlibNX on the LIBPATH when running on P9 or later, but having
this in the environment may cause some things, such as git clone, to
fail when exec'ed from Java. For example,
`fatal: pack has bad object at offset 3872100: inflate returned -5`

Backport of ibmruntimes/openj9-openjdk-jdk#664

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
Look for -XX:[+/-]UseZlibNX on AIX
Signed-off-by: J9 Build <j9build@ca.ibm.com>
Signed-off-by: J9 Build <j9build@ca.ibm.com>
At the moment, if there is an OpenSSL failure when using
NativeECKeyPairGenerator, a flag for that particular curve is set and
the Sun Java implementation is used to complete the task.

If another instance of NativeECKeyPairGenerator reaches the same
failure, a ProviderException is thrown, as the issue with that
particular curve should have been discovered during the call to
initialize() thus creating and using an instance of ECKeyPairGenerator,
and that particular point should never have been reached.

However, in the scenario where the second instance of
NativeECKeyPairGenerator has been initialized earlier, the flag for the
problematic curve will never be discovered.

This fix ensures that we always revert to the Sun Java implementation
when an OpenSSL failure occurs.

Signed-off by: Kostas Tsiounis <kostas.tsiounis@ibm.com>
Always revert to Java impl when OpenSSL fails
@pshipton
pshipton requested a review from JasonFengJ9 October 3, 2023 13:43
@JasonFengJ9
JasonFengJ9 merged commit 6fee1ee into v0.41.0-release Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants