Skip to content

Commit

Permalink
8335134: Test com/sun/jdi/BreakpointOnClassPrepare.java timeout
Browse files Browse the repository at this point in the history
Reviewed-by: kevinw, coleenp
  • Loading branch information
plummercj committed Jun 27, 2024
1 parent 3b1ca98 commit 4e8cbf8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/jdk/com/sun/jdi/BreakpointOnClassPrepare.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,15 @@ public static void main(String[] args) throws Exception {

public void breakpointReached(BreakpointEvent event) {
bkptCount++;
System.out.println("Got BreakpointEvent: " + bkptCount + " for thread " + event.thread());
String threadInfo;
try {
threadInfo = event.thread().toString();
} catch (ObjectCollectedException e) {
// It's possible the Thread already terminated and was collected
// if the SUSPEND_NONE policy was used.
threadInfo = "(thread collected)";
}
System.out.println("Got BreakpointEvent: " + bkptCount + " for thread " + threadInfo);
}

public void vmDisconnected(VMDisconnectEvent event) {
Expand Down

5 comments on commit 4e8cbf8

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

@plummercj
Copy link
Contributor Author

Choose a reason for hiding this comment

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

/backport :jdk23

@openjdk
Copy link

@openjdk openjdk bot commented on 4e8cbf8 Jul 1, 2024

Choose a reason for hiding this comment

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

@plummercj the backport was successfully created on the branch backport-plummercj-4e8cbf88-jdk23 in my personal fork of openjdk/jdk. To create a pull request with this backport targeting openjdk/jdk:jdk23, 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 4e8cbf88 from the openjdk/jdk repository.

The commit being backported was authored by Chris Plummer on 27 Jun 2024 and was reviewed by Kevin Walls and Coleen Phillimore.

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/jdk:

$ git fetch https://github.com/openjdk-bots/jdk.git backport-plummercj-4e8cbf88-jdk23:backport-plummercj-4e8cbf88-jdk23
$ git checkout backport-plummercj-4e8cbf88-jdk23
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk.git backport-plummercj-4e8cbf88-jdk23

⚠️ @plummercj You are not yet a collaborator in my fork openjdk-bots/jdk. An invite will be sent out and you need to accept it before you can proceed.

@luchenlin
Copy link

Choose a reason for hiding this comment

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

/backport jdk21u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on 4e8cbf8 Jul 30, 2024

Choose a reason for hiding this comment

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

@luchenlin the backport was successfully created on the branch backport-luchenlin-4e8cbf88-master in my personal fork of openjdk/jdk21u-dev. To create a pull request with this backport targeting openjdk/jdk21u-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 4e8cbf88 from the openjdk/jdk repository.

The commit being backported was authored by Chris Plummer on 27 Jun 2024 and was reviewed by Kevin Walls and Coleen Phillimore.

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/jdk21u-dev:

$ git fetch https://github.com/openjdk-bots/jdk21u-dev.git backport-luchenlin-4e8cbf88-master:backport-luchenlin-4e8cbf88-master
$ git checkout backport-luchenlin-4e8cbf88-master
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk21u-dev.git backport-luchenlin-4e8cbf88-master

Please sign in to comment.