8283717: vmTestbase/nsk/jdi/ThreadStartEvent/thread/thread001 failed due to SocketTimeoutException

Backport-of: f9f439a19d
This commit is contained in:
Goetz Lindenmaier
2023-01-17 07:31:59 +00:00
committed by Vitaly Provodin
parent 4c8a30735c
commit 12dba548fc

View File

@@ -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
@@ -151,6 +151,8 @@ public class thread001 {
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