On Mon, 22 May 2023 15:21:37 GMT, Per Minborg <pminb...@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

Reply via email to