RFR: 8307205: Downcall to clibrary printf fails on OS X AArch64

Maurizio Cimadamore mcimadamore at openjdk.org
Mon May 22 20:37:48 UTC 2023


On Mon, 22 May 2023 15:21:37 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR adds a test that shows the documented way of calling `printf` works.

I'm not sure I get this: StdLibTest already tests variadic calls, and there's a brand new javadoc section about this topic:
https://download.java.net/java/early_access/jdk21/docs/api/java.base/java/lang/foreign/Linker.html#variadic-funcs

Note: I'm not opposed to the test per se, but I note that (a) test-wise it is redundant, and (b) using tests as placeholder for documentation is a bit odd.

(Also, note that the bug this PR refers to is closed)

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

PR Comment: https://git.openjdk.org/jdk/pull/14088#issuecomment-1557943328


More information about the core-libs-dev mailing list