Skip to content

Commit

Permalink
8283717: vmTestbase/nsk/jdi/ThreadStartEvent/thread/thread001 failed …
Browse files Browse the repository at this point in the history
…due to SocketTimeoutException

Backport-of: f9f439a19d11501cfa77db065051086ab794e9f4
  • Loading branch information
GoeLin committed Jan 17, 2023
1 parent 9c684a1 commit b52d8ad
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -151,6 +151,8 @@ public static int run(final String args[], final PrintStream out) {
if (checkedRequest != null) {
log.display("Disabling event request");
checkedRequest.disable();
// need to resume all threads in case a stray ThreadStartEvent arrived
vm.resume();
}

// force debuggee to quit
Expand Down

1 comment on commit b52d8ad

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.