Skip to content

Commit

Permalink
8289400: Improve com/sun/jdi/TestScaffold error reporting
Browse files Browse the repository at this point in the history
Reviewed-by: amenkov, lmesnik
  • Loading branch information
plummercj committed Sep 2, 2022
1 parent 77e21c5 commit da99e3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/jdk/com/sun/jdi/TestScaffold.java
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,10 @@ protected void traceln(String str) {

protected void failure(String str) {
println(str);
StackTraceElement[] trace = Thread.currentThread().getStackTrace();
for (StackTraceElement traceElement : trace) {
System.err.println("\tat " + traceElement);
}
testFailed = true;
}

Expand Down

3 comments on commit da99e3e

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GoeLin
Copy link
Member

@GoeLin GoeLin commented on da99e3e Jan 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/backport jdk17u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on da99e3e Jan 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GoeLin the backport was successfully created on the branch GoeLin-backport-da99e3e8 in my personal fork of openjdk/jdk17u-dev. To create a pull request with this backport targeting openjdk/jdk17u-dev:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit da99e3e8 from the openjdk/jdk repository.

The commit being backported was authored by Chris Plummer on 2 Sep 2022 and was reviewed by Alex Menkov and Leonid Mesnik.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk17u-dev:

$ git fetch https://github.com/openjdk-bots/jdk17u-dev GoeLin-backport-da99e3e8:GoeLin-backport-da99e3e8
$ git checkout GoeLin-backport-da99e3e8
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk17u-dev GoeLin-backport-da99e3e8

Please sign in to comment.