[foreign-memaccess] RFR: 8246040: java/foreign/TestAddressHandle fails on big endian platforms

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu May 28 11:50:35 UTC 2020

This is a fix for TestAddressHandle to be Big Endianness friendly. The test was relying on the fact that writing the
constant 42L was setting the lowest order bit on the segment. I have now updated the test to change that (and tested by
tweaking the data provider to use big endian layouts).


Commit messages:
 - Fix test to take endianness into account

Changes: https://git.openjdk.java.net/panama-foreign/pull/186/files
 Webrev: https://webrevs.openjdk.java.net/panama-foreign/186/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8246040
  Stats: 22 lines in 1 file changed: 3 ins; 0 del; 19 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/186.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/186/head:pull/186

PR: https://git.openjdk.java.net/panama-foreign/pull/186

More information about the panama-dev mailing list