mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com> Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com> Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
This commit is contained in:
parent
6684a41c5d
commit
aaac2cbb54
40 changed files with 2815 additions and 322 deletions
|
@ -1237,7 +1237,7 @@ bool os::set_boot_path(char fileSep, char pathSep) {
|
|||
struct stat st;
|
||||
|
||||
// modular image if bootmodules.jimage exists
|
||||
char* jimage = format_boot_path("%/lib/modules/bootmodules.jimage", home, home_len, fileSep, pathSep);
|
||||
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue