This PR adds a test that shows the documented way of calling `printf` works.
------------- Commit messages: - Add test for issue Changes: https://git.openjdk.org/jdk/pull/14088/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14088&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8307205 Stats: 22 lines in 1 file changed: 22 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/14088.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/14088/head:pull/14088 PR: https://git.openjdk.org/jdk/pull/14088