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

Jorn Vernee jvernee at openjdk.java.net
Thu Jul 9 10:11:37 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

This pull request has now been integrated.

Changeset: adf34a59
Author:    Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/adf34a59
Stats:     73 lines in 6 files changed: 0 ins; 64 del; 9 mod

Fix several failing jdk_jextract tests on Windows

Reviewed-by: sundar

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

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


More information about the panama-dev mailing list