[foreign-memaccess+abi] RFR: 8306668: Some foreign tests fail on x86 [v2]

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Apr 21 13:30:26 UTC 2023


> Some foreign tests fail on x86, as a result of the changes in https://github.com/openjdk/panama-foreign/pull/775.
> This patch reverts the `long` -> `int` conversion logic in `Utils`, and it also fixes the following:
> * a new microbenchmark fails compilation on x86 because of a bad cast from pointer to long
> * exclude WindowsCallArrangerTest on x86
> 
> I've tested this by building (and testing) a 32-bit JDK on my Linux x64 using `--with-target-bits=32`.

Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:

  Update test/jdk/java/foreign/callarranger/TestWindowsCallArranger.java
  
  Co-authored-by: Jorn Vernee <JornVernee at users.noreply.github.com>

-------------

Changes:
  - all: https://git.openjdk.org/panama-foreign/pull/828/files
  - new: https://git.openjdk.org/panama-foreign/pull/828/files/b609e5e4..d43a8fc2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=panama-foreign&pr=828&range=01
 - incr: https://webrevs.openjdk.org/?repo=panama-foreign&pr=828&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/panama-foreign/pull/828.diff
  Fetch: git fetch https://git.openjdk.org/panama-foreign.git pull/828/head:pull/828

PR: https://git.openjdk.org/panama-foreign/pull/828


More information about the panama-dev mailing list