mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8186988: use log_warning() and log_error() instead of tty->print_cr for CDS warning and error messages
Reviewed-by: stuefe, iklam, dholmes
This commit is contained in:
parent
e9eaba3d53
commit
e8ee2800f5
4 changed files with 8 additions and 7 deletions
|
@ -459,7 +459,7 @@ void FileMapInfo::check_nonempty_dir_in_shared_path_table() {
|
|||
if (e->is_dir()) {
|
||||
const char* path = e->name();
|
||||
if (!os::dir_is_empty(path)) {
|
||||
tty->print_cr("Error: non-empty directory '%s'", path);
|
||||
log_error(cds)("Error: non-empty directory '%s'", path);
|
||||
has_nonempty_dir = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue