[foreign-memaccess+abi] RFR: Remove printf and vprintf tests

Jorn Vernee jvernee at openjdk.java.net
Fri May 14 12:18:33 UTC 2021


On Fri, 14 May 2021 10:12:01 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> This patch removes the printf and vprintf tests, since the symbols are not available on Windows in the UCRT.
> 
> gmtime is similarly an inline function that maps to something else, but in that case there is a drop-in replacement symbol name _gmtime64 we can call instead.
> 
> This fixes the missing symbol errors in StdLibTest.

As discussed offline, rather than removing the tests, or disabling them on Windows, I've included a helper library that has a function that can give us pointers to generated inline code for the missing functions on Windows. This allows keeping the tests on all platforms.

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

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


More information about the panama-dev mailing list