In the current version, FMT."v =%d{1}" will call the StringConcatHelper.prepend(long/byte[]/long) method, which should behave the same as STR."v ={1}". Call StringConcatHelper.prepend(long/byte[]/int), should not convert int to long
Please review and don't hesitate to critique my approach and patch. ------------- Commit messages: - Merge remote-tracking branch 'upstream/master' into st_prepend_int - fix format %d int call prepend(long, byte[], long), should be call prepend(long, byte[], int) Changes: https://git.openjdk.org/jdk/pull/16017/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16017&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8326617 Stats: 7 lines in 1 file changed: 4 ins; 2 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/16017.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/16017/head:pull/16017 PR: https://git.openjdk.org/jdk/pull/16017