src/hotspot/os/linux/os_linux.cpp
changeset 50962 dbe8aa90d4dd
parent 50956 429b0997c16d
child 51038 3312e730c791
--- a/src/hotspot/os/linux/os_linux.cpp	Tue Jul 10 10:24:08 2018 -0700
+++ b/src/hotspot/os/linux/os_linux.cpp	Tue Jul 10 19:04:13 2018 -0700
@@ -367,7 +367,9 @@
       }
     }
     Arguments::set_java_home(buf);
-    set_boot_path('/', ':');
+    if (!set_boot_path('/', ':')) {
+      vm_exit_during_initialization("Failed setting boot class path.", NULL);
+    }
   }
 
   // Where to look for native libraries.