<i18n dev> RFR: 8295239: Refactor java/util/Formatter/Basic script into a Java native test launcher [v6]

Naoto Sato naoto at openjdk.org
Tue Oct 18 21:02:09 UTC 2022


On Tue, 18 Oct 2022 19:37:17 GMT, Brent Christian <bchristi at openjdk.org> wrote:

>> Good point, will reassign it to one line.
>> 
>> "Also, use %s forfirst, as it's a Throwable", 
>> I believe I am assigning %d to pass+fail and fail. I pass first as a Throwable to the runtime exception constructor.
>
> Oh, right. Carry on.

Instead of using String.format() static method, using "...".formatted() is slightly shorter/concise.

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

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


More information about the i18n-dev mailing list