On Fri, 2 Sep 2022 05:40:38 GMT, Alan Bateman <al...@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 459:
> 
>> 457:         for (StackTraceElement traceElement : trace) {
>> 458:             System.err.println("\tat " + traceElement);
>> 459:         }
> 
> Thread.dumpStack() prints to System.errr.

But it does so by creating an Exception and calling printStackTrace() on it. I 
didn't want that because it includes the Exception itself in the output, not 
just the stack trace.

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

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

Reply via email to