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

[FFI/Jtreg_JDK21] Adjust the padding bytes of struct on AIX #54

Conversation

ChengJin01
Copy link

The changes reflect the actual padding bytes of
the failing test structs support double on AIX.

Related: #eclipse-openj9/openj9/issues/18287

Signed-off-by: ChengJin01 jincheng@ca.ibm.com

@ChengJin01 ChengJin01 closed this Oct 16, 2023
@ChengJin01
Copy link
Author

ChengJin01 commented Oct 16, 2023

As mentioned at eclipse-openj9/openj9#18287 (comment), the padding of the failing struct is 3 bytes on AIX.

Note: the test suite can't be verified until everything related to eclipse-openj9/openj9#18287 is resolved.

@ChengJin01 ChengJin01 reopened this Oct 16, 2023
@ChengJin01
Copy link
Author

Reviewer: @keithc-ca
FYI: @tajila, @pshipton

@keithc-ca keithc-ca self-requested a review October 18, 2023 15:17
test/jdk/java/foreign/NativeTestHelper.java Outdated Show resolved Hide resolved
test/jdk/java/foreign/nested/TestNested.java Outdated Show resolved Hide resolved
The changes reflect the actual padding bytes of
the failing test structs support double on AIX.

Related: #eclipse-openj9/openj9/issues/18287

Signed-off-by: ChengJin01 <jincheng@ca.ibm.com>
@ChengJin01 ChengJin01 force-pushed the ffi_jtreg_fix_struct_padding_aix_jdk21 branch from 6d4bb29 to 3d70baf Compare October 18, 2023 16:46
@keithc-ca
Copy link
Member

Please create a similar change for https://github.com/ibmruntimes/openj9-openjdk-jdk, which should be merged before this.

@ChengJin01
Copy link
Author

Please create a similar change for https://github.com/ibmruntimes/openj9-openjdk-jdk, which should be merged before this.

The PR is created at ibmruntimes/openj9-openjdk-jdk#677.

@keithc-ca keithc-ca merged commit 0aaf77d into ibmruntimes:openj9 Oct 18, 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.

3 participants