574 static void set_endorsed_dirs(char *value) { _java_endorsed_dirs->set_value(value); } 575 static void set_sysclasspath(char *value) { _sun_boot_class_path->set_value(value); } 576 static void append_sysclasspath(const char *value) { _sun_boot_class_path->append_value(value); } 577 static void set_meta_index_path(char* meta_index_path, char* meta_index_dir) { 578 _meta_index_path = meta_index_path; 579 _meta_index_dir = meta_index_dir; 580 } 581 582 static char* get_java_home() { return _java_home->value(); } 583 static char* get_dll_dir() { return _sun_boot_library_path->value(); } 584 static char* get_endorsed_dir() { return _java_endorsed_dirs->value(); } 585 static char* get_sysclasspath() { return _sun_boot_class_path->value(); } 586 static char* get_meta_index_path() { return _meta_index_path; } 587 static char* get_meta_index_dir() { return _meta_index_dir; } 588 static char* get_ext_dirs() { return _java_ext_dirs->value(); } 589 static char* get_appclasspath() { return _java_class_path->value(); } 590 static void fix_appclasspath(); 591 592 // Operation modi 593 static Mode mode() { return _mode; } 594 595 // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid. 596 static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen); 597 }; 598 599 #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP | 574 static void set_endorsed_dirs(char *value) { _java_endorsed_dirs->set_value(value); } 575 static void set_sysclasspath(char *value) { _sun_boot_class_path->set_value(value); } 576 static void append_sysclasspath(const char *value) { _sun_boot_class_path->append_value(value); } 577 static void set_meta_index_path(char* meta_index_path, char* meta_index_dir) { 578 _meta_index_path = meta_index_path; 579 _meta_index_dir = meta_index_dir; 580 } 581 582 static char* get_java_home() { return _java_home->value(); } 583 static char* get_dll_dir() { return _sun_boot_library_path->value(); } 584 static char* get_endorsed_dir() { return _java_endorsed_dirs->value(); } 585 static char* get_sysclasspath() { return _sun_boot_class_path->value(); } 586 static char* get_meta_index_path() { return _meta_index_path; } 587 static char* get_meta_index_dir() { return _meta_index_dir; } 588 static char* get_ext_dirs() { return _java_ext_dirs->value(); } 589 static char* get_appclasspath() { return _java_class_path->value(); } 590 static void fix_appclasspath(); 591 592 // Operation modi 593 static Mode mode() { return _mode; } 594 static bool is_interpreter_only() { return mode() == _int; } 595 596 597 // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid. 598 static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen); 599 }; 600 601 #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP |