test/jdk/java/foreign/TestLayouts.java fails on S390X
Vladimir Petko
vladimir.petko at canonical.com
Fri Jun 9 08:53:22 UTC 2023
Dear Maintainers,
test/jdk/java/foreign/TestLayouts.java assumes little endian
architecture and hardcoded string representation of int.
This results in the following failure:
-----cut-----
test TestLayouts.testStructToString(): failure
java.lang.AssertionError: expected [[i4](struct)] but found [[I4](struct)]
-----cut-----
as JAVA_INT is represented as 'I4' for big endian.
Would it be possible to consider the attached patch to resolve the issue?
Best Regards,
Vladimir.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestLayouts.patch
Type: text/x-patch
Size: 1012 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20230609/ce4c5db6/TestLayouts.patch>
More information about the core-libs-dev
mailing list