[foreign-jextract] RFR: Fix several failing jdk_jextract tests on Windows

Athijegannathan Sundararajan sundar at openjdk.java.net
Thu Jul 9 05:10:32 UTC 2020


On Thu, 2 Jul 2020 12:43:34 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> Hi,
> 
> This patch fixes several failing jdk_jextract tests on Windows, mostly caused by use of `long` instead of `long long`.
> 
> WRT Test8244959, this was failing because the default library was being used, and a wrong version of sprintf was being
> found, causing a failure. I've replaced this call with a custom my_sprintf, that calls vsprintf instead, which gets the
> test passing (along with some other long -> long long changes).  There was also a test that was not being run, because
> the jtreg tag was referencing a different test class. Since the test that was actually referenced was failing, this
> caused 2 identical failures. I've changed the jtreg tag to point to the right class.  Thanks,
> Jorn

Marked as reviewed by sundar (Committer).

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

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


More information about the panama-dev mailing list