mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +02:00
8154239: -Xbootclasspath/a breaks exploded build
Correct exploded modules build system class path search for the boot loader Reviewed-by: acorn, ccheung, hseigel, jiangli
This commit is contained in:
parent
2313844e20
commit
64f4953141
11 changed files with 338 additions and 312 deletions
|
@ -1213,7 +1213,7 @@ bool os::set_boot_path(char fileSep, char pathSep) {
|
|||
if (jimage == NULL) return false;
|
||||
bool has_jimage = (os::stat(jimage, &st) == 0);
|
||||
if (has_jimage) {
|
||||
Arguments::set_sysclasspath(jimage);
|
||||
Arguments::set_sysclasspath(jimage, true);
|
||||
FREE_C_HEAP_ARRAY(char, jimage);
|
||||
return true;
|
||||
}
|
||||
|
@ -1223,7 +1223,7 @@ bool os::set_boot_path(char fileSep, char pathSep) {
|
|||
char* base_classes = format_boot_path("%/modules/java.base", home, home_len, fileSep, pathSep);
|
||||
if (base_classes == NULL) return false;
|
||||
if (os::stat(base_classes, &st) == 0) {
|
||||
Arguments::set_sysclasspath(base_classes);
|
||||
Arguments::set_sysclasspath(base_classes, false);
|
||||
FREE_C_HEAP_ARRAY(char, base_classes);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue