On Thu, 1 Sep 2022 20:15:04 GMT, Alex Menkov <amen...@openjdk.org> wrote:
>> Chris Plummer has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Add curly braces. > > test/jdk/com/sun/jdi/TestScaffold.java line 457: > >> 455: println(str); >> 456: StackTraceElement[] trace = >> Thread.currentThread().getStackTrace(); >> 457: for (StackTraceElement traceElement : trace) > > Please add curly braces around the cycle body Ok. This was a copy-n-paste from Throwable.printStackTrace(), and I didn't noticed the omission when copying. ------------- PR: https://git.openjdk.org/jdk/pull/10127