aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Alex Menkov <amenkov@openjdk.org> 2021-03-25 19:47:35 +0000
committerGravatar Alex Menkov <amenkov@openjdk.org> 2021-03-25 19:47:35 +0000
commit2a5e0dd3609d2fcbfa1898a093f45f72e83fdd9d (patch)
treeaaf9159d702f5661fa9ef7c747094794f4031dc7
parent374272fd13776a1400dbdd1f9ab9b81609b898f3 (diff)
downloadjdk-2a5e0dd3609d2fcbfa1898a093f45f72e83fdd9d.tar.gz
jdk-2a5e0dd3609d2fcbfa1898a093f45f72e83fdd9d.zip
8262081: vmTestbase/nsk/jdi/ThreadDeathRequest/addThreadFilter/addthreadfilter001/TestDescription.java failed with "ERROR: eventSet1.size() != 3 :: 2"
Reviewed-by: cjplummer, lmesnik, sspitsyn
-rw-r--r--test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadDeathRequest/addThreadFilter/addthreadfilter001.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadDeathRequest/addThreadFilter/addthreadfilter001.java b/test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadDeathRequest/addThreadFilter/addthreadfilter001.java
index a62fb913812..573ef44f867 100644
--- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadDeathRequest/addThreadFilter/addthreadfilter001.java
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadDeathRequest/addThreadFilter/addthreadfilter001.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2021, 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
@@ -302,7 +302,7 @@ public class addthreadfilter001 extends JDIBase {
vm.resume();
log2("......waiting for ThreadDeathEvent");
- getEventSet();
+ getEventSetForThreadStartDeath(testThread.name());
EventSet eventSet1 = eventSet;
if ( !(eventIterator.nextEvent() instanceof ThreadDeathEvent) ) {
testExitCode = FAILED;