On Tue, 18 Oct 2022 19:37:17 GMT, Brent Christian <bchri...@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