RFR: 8289400: Improve com/sun/jdi/TestScaffold error reporting [v2]
Chris Plummer
cjplummer at openjdk.org
Thu Sep 1 21:11:14 UTC 2022
On Thu, 1 Sep 2022 20:15:04 GMT, Alex Menkov <amenkov at 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
More information about the serviceability-dev
mailing list