Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mode of ReleasePrimitiveArrayCritical to ensure copying of data #215

Merged
merged 1 commit into from
May 25, 2023

Conversation

KostasTsiounis
Copy link
Contributor

Change mode value from JNI_ABORT to 0 in ReleasePrimitiveArrayCritical of arrays pertaining to EC and PBE key generation.

This makes no difference if a direct reference to the array is provided by the JVM, but it ensures copying of data to the original array, in case a copy of it was provided when calling GetPrimitiveArrayCritical.

Back-ported from: ibmruntimes/openj9-openjdk-jdk#603

Signed-off by: Kostas Tsiounis kostas.tsiounis@ibm.com

@keithc-ca
Copy link
Member

Jenkins compile alinux64 jdk17

1 similar comment
@keithc-ca
Copy link
Member

Jenkins compile alinux64 jdk17

@keithc-ca keithc-ca merged commit f8aba81 into ibmruntimes:openj9 May 25, 2023
@KostasTsiounis KostasTsiounis deleted the eckeygen branch June 22, 2023 14:18
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.

2 participants