Skip to content

Commit a6deb5b

Browse files
committed
8345341: Fix incorrect log message in JDI stop002t test
Backport-of: 42378970e1accc67c2a152c6af2b0becacf5b4b8
1 parent b016bdb commit a6deb5b

File tree

1 file changed

+2
-2
lines changed
  • test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/stop

1 file changed

+2
-2
lines changed

test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/stop/stop002t.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2002, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2002, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -180,7 +180,7 @@ private int runIt(String args[]) {
180180
log.display("TEST #5: interrupted = " + Thread.interrupted());
181181
// We don't expect the exception to be thrown when in vthread mode.
182182
if (!vthreadMode && t instanceof MyThrowable) {
183-
log.display("TEST #5: Caught expected exception while in loop: " + t);
183+
log.display("TEST #5: Caught expected exception while in sleep: " + t);
184184
} else {
185185
log.complain("TEST #5: Unexpected exception caught: " + t);
186186
t.printStackTrace();

0 commit comments

Comments
 (0)