< prev index next >

src/share/vm/runtime/os.cpp

Print this page

        

*** 1235,1245 **** char* sysclasspath = NULL; struct stat st; // modular image if bootmodules.jimage exists ! char* jimage = format_boot_path("%/lib/modules/bootmodules.jimage", home, home_len, fileSep, pathSep); if (jimage == NULL) return false; bool has_jimage = (os::stat(jimage, &st) == 0); if (has_jimage) { Arguments::set_sysclasspath(jimage); return true; --- 1235,1245 ---- char* sysclasspath = NULL; struct stat st; // modular image if bootmodules.jimage exists ! char* jimage = format_boot_path("%/lib/modules/" BOOT_IMAGE_NAME, home, home_len, fileSep, pathSep); if (jimage == NULL) return false; bool has_jimage = (os::stat(jimage, &st) == 0); if (has_jimage) { Arguments::set_sysclasspath(jimage); return true;
< prev index next >