mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-12 04:19:39 +01:00
8283717: vmTestbase/nsk/jdi/ThreadStartEvent/thread/thread001 failed due to SocketTimeoutException
Backport-of: f9f439a19d
This commit is contained in:
committed by
Vitaly Provodin
parent
4c8a30735c
commit
12dba548fc
@@ -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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -151,6 +151,8 @@ public class thread001 {
|
|||||||
if (checkedRequest != null) {
|
if (checkedRequest != null) {
|
||||||
log.display("Disabling event request");
|
log.display("Disabling event request");
|
||||||
checkedRequest.disable();
|
checkedRequest.disable();
|
||||||
|
// need to resume all threads in case a stray ThreadStartEvent arrived
|
||||||
|
vm.resume();
|
||||||
}
|
}
|
||||||
|
|
||||||
// force debuggee to quit
|
// force debuggee to quit
|
||||||
|
|||||||
Reference in New Issue
Block a user