616 assert(get_sysclasspath() == NULL, "System boot class path previously set");
617 _system_boot_class_path->set_value(value);
618 _has_jimage = has_jimage;
619 }
620 static void append_sysclasspath(const char *value) {
621 _system_boot_class_path->append_value(value);
622 _jdk_boot_class_path_append->append_value(value);
623 }
624
625 static GrowableArray<ModulePatchPath*>* get_patch_mod_prefix() { return _patch_mod_prefix; }
626 static char* get_sysclasspath() { return _system_boot_class_path->value(); }
627 static char* get_jdk_boot_class_path_append() { return _jdk_boot_class_path_append->value(); }
628 static bool has_jimage() { return _has_jimage; }
629
630 static char* get_java_home() { return _java_home->value(); }
631 static char* get_dll_dir() { return _sun_boot_library_path->value(); }
632 static char* get_ext_dirs() { return _ext_dirs; }
633 static char* get_appclasspath() { return _java_class_path->value(); }
634 static void fix_appclasspath();
635
636
637 // Operation modi
638 static Mode mode() { return _mode; }
639 static bool is_interpreter_only() { return mode() == _int; }
640
641 // preview features
642 static void set_enable_preview() { _enable_preview = true; }
643 static bool enable_preview() { return _enable_preview; }
644
645 // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid.
646 static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen);
647
648 static void check_unsupported_dumping_properties() NOT_CDS_RETURN;
649
650 static bool check_unsupported_cds_runtime_properties() NOT_CDS_RETURN0;
651
652 static bool atojulong(const char *s, julong* result);
653 };
654
655 // Disable options not supported in this release, with a warning if they
|
616 assert(get_sysclasspath() == NULL, "System boot class path previously set");
617 _system_boot_class_path->set_value(value);
618 _has_jimage = has_jimage;
619 }
620 static void append_sysclasspath(const char *value) {
621 _system_boot_class_path->append_value(value);
622 _jdk_boot_class_path_append->append_value(value);
623 }
624
625 static GrowableArray<ModulePatchPath*>* get_patch_mod_prefix() { return _patch_mod_prefix; }
626 static char* get_sysclasspath() { return _system_boot_class_path->value(); }
627 static char* get_jdk_boot_class_path_append() { return _jdk_boot_class_path_append->value(); }
628 static bool has_jimage() { return _has_jimage; }
629
630 static char* get_java_home() { return _java_home->value(); }
631 static char* get_dll_dir() { return _sun_boot_library_path->value(); }
632 static char* get_ext_dirs() { return _ext_dirs; }
633 static char* get_appclasspath() { return _java_class_path->value(); }
634 static void fix_appclasspath();
635
636 static char* get_default_shared_archive_path();
637
638 // Operation modi
639 static Mode mode() { return _mode; }
640 static bool is_interpreter_only() { return mode() == _int; }
641
642 // preview features
643 static void set_enable_preview() { _enable_preview = true; }
644 static bool enable_preview() { return _enable_preview; }
645
646 // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid.
647 static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen);
648
649 static void check_unsupported_dumping_properties() NOT_CDS_RETURN;
650
651 static bool check_unsupported_cds_runtime_properties() NOT_CDS_RETURN0;
652
653 static bool atojulong(const char *s, julong* result);
654 };
655
656 // Disable options not supported in this release, with a warning if they
|