Skip to content

Commit

Permalink
fix log message
Browse files Browse the repository at this point in the history
  • Loading branch information
plummercj committed Dec 2, 2024
1 parent 8de158a commit b4abe46
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2024, 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 @@ -180,7 +180,7 @@ private int runIt(String args[]) {
log.display("TEST #5: interrupted = " + Thread.interrupted());
// We don't expect the exception to be thrown when in vthread mode.
if (!vthreadMode && t instanceof MyThrowable) {
log.display("TEST #5: Caught expected exception while in loop: " + t);
log.display("TEST #5: Caught expected exception while in sleep: " + t);
} else {
log.complain("TEST #5: Unexpected exception caught: " + t);
t.printStackTrace();
Expand Down

0 comments on commit b4abe46

Please sign in to comment.