--- old/src/hotspot/share/classfile/classLoaderExt.cpp 2018-10-23 13:18:20.147345611 -0700 +++ new/src/hotspot/share/classfile/classLoaderExt.cpp 2018-10-23 13:18:19.763309451 -0700 @@ -34,6 +34,7 @@ #include "classfile/sharedPathsMiscInfo.hpp" #include "classfile/systemDictionaryShared.hpp" #include "classfile/vmSymbols.hpp" +#include "logging/log.hpp" #include "memory/allocation.inline.hpp" #include "memory/filemap.hpp" #include "memory/resourceArea.hpp" @@ -175,7 +176,7 @@ } if (strstr(manifest, "Extension-List:") != NULL) { - tty->print_cr("-Xshare:dump does not support Extension-List in JAR manifest: %s", entry->name()); + log_error(cds)("-Xshare:dump does not support Extension-List in JAR manifest: %s", entry->name()); vm_exit(1); }