src/hotspot/os/solaris/os_solaris.cpp
changeset 50962 dbe8aa90d4dd
parent 50930 6a5f1195e15f
child 51106 f605c91e5219
--- a/src/hotspot/os/solaris/os_solaris.cpp	Tue Jul 10 10:24:08 2018 -0700
+++ b/src/hotspot/os/solaris/os_solaris.cpp	Tue Jul 10 19:04:13 2018 -0700
@@ -580,7 +580,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.