[foreign-jextract] RFR: 8262263: BadBitfieldTest fails on Windows

Jorn Vernee jvernee at openjdk.java.net
Tue Feb 23 21:10:06 UTC 2021


BadBitfieldTest fails on Windows due to the test struct using the `long` native type, with a bit-width larger than 32 bits, which is problematic on Windows.

Switching the type to `long long` resolves the failure. (I've also reduced the whitespace a little)



Commit messages:
 - Use long long instead of long in badBitfields.h

Changes: https://git.openjdk.java.net/panama-foreign/pull/460/files
 Webrev: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=460&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8262263
  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/460.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/460/head:pull/460

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

More information about the panama-dev mailing list