src/hotspot/share/classfile/classLoader.cpp
changeset 50962 dbe8aa90d4dd
parent 50939 783cc906a5f8
child 51444 3e5d28e6de32
--- a/src/hotspot/share/classfile/classLoader.cpp	Tue Jul 10 10:24:08 2018 -0700
+++ b/src/hotspot/share/classfile/classLoader.cpp	Tue Jul 10 19:04:13 2018 -0700
@@ -549,6 +549,7 @@
 
 void ClassLoader::setup_bootstrap_search_path() {
   const char* sys_class_path = Arguments::get_sysclasspath();
+  assert(sys_class_path != NULL, "System boot class path must not be NULL");
   if (PrintSharedArchiveAndExit) {
     // Don't print sys_class_path - this is the bootcp of this current VM process, not necessarily
     // the same as the bootcp of the shared archive.