java.nio.Bits.unaligned() doesn't return true on s390x
David Holmes
david.holmes at oracle.com
Mon Feb 6 11:28:30 UTC 2017
Hi,
On 6/02/2017 8:14 PM, Vaibhav Vaingankar wrote:
>
>
> Hello,
>
> We are building HBase source code using OpenJDK 8 on s390x platform, we
> encountered some testcase failures related to bit unalignment.
> We discovered that java.nio.Bits.unaligned() doesn't return true on s390x.
> However similar issue had reported on ppc and was resolved by adding ppc
> support in ByteArrayAccess.java and ByteArrayAccess.java, following is the
> changeset link:
> http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/8d16f74380a7
>
> Referring to above changeset we added s390x support in both the classes.
> The resultant JDK could resolve the testcase failure.
>
> Let me know how to add s390x support to the OpenJDK 8 source. Any
> suggestion are appreciated.
The s390x port was for JDK 9 and as far as I am aware it has not been
ported to JDK 8u.
https://bugs.openjdk.java.net/browse/JDK-8166730
David
------
> Thanks and regards.
> Vaibhav Vaingankar
>
More information about the jdk8u-dev
mailing list