Withdrawn: 8326617: String Template FMT removes unnecessary int to long type cast

Shaojin Wen duke at openjdk.org
Fri Apr 19 18:11:08 UTC 2024


On Mon, 2 Oct 2023 23:05:29 GMT, Shaojin Wen <duke at openjdk.org> wrote:

> 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.

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jdk/pull/16017


More information about the core-libs-dev mailing list