[foreign-jextract] RFR: Use Windows and Aarch64 LongDouble constants in LayoutUtils

Maurizio Cimadamore mcimadamore at openjdk.java.net
Mon Feb 24 17:07:26 UTC 2020


On Mon, 24 Feb 2020 15:32:36 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> Hi,
> 
> Please review this small fix that lets LayoutUtils use the new LongDouble constants instead of Double on Windows and Aarch64 to initialize the global `C_LONGDOUBLE` value. Currently the use of Double results in an incorrect ABI attribute, causing a test failure.

Looks good - I guess I'm not sure of what is the failure you were seeing? Shouldn't DOUBLE and LONGDOUBLE be the same  on Win?

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

Marked as reviewed by mcimadamore (Committer).

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


More information about the panama-dev mailing list