We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c173fd commit d9b98f7Copy full SHA for d9b98f7
test/hotspot/jtreg/vmTestbase/nsk/monitoring/share/ThreadController.cpp
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2025, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
@@ -465,8 +465,8 @@ extern "C" {
465
return env->NewStringUTF("TIMED_WAITING");
466
}
467
// should never reach
468
- assert(0);
469
- return 0;
+ assert(false);
+ return nullptr;
470
471
472
0 commit comments