713 set_jdkbootclasspath_append(); 714 } 715 716 static char* get_java_home() { return _java_home->value(); } 717 static char* get_dll_dir() { return _sun_boot_library_path->value(); } 718 static char* get_sysclasspath() { return _system_boot_class_path->value(); } 719 static char* get_ext_dirs() { return _ext_dirs; } 720 static char* get_appclasspath() { return _java_class_path->value(); } 721 static void fix_appclasspath(); 722 723 724 // Operation modi 725 static Mode mode() { return _mode; } 726 static bool is_interpreter_only() { return mode() == _int; } 727 728 729 // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid. 730 static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen); 731 732 static void check_unsupported_dumping_properties() NOT_CDS_RETURN; 733 }; 734 735 // Disable options not supported in this release, with a warning if they 736 // were explicitly requested on the command-line 737 #define UNSUPPORTED_OPTION(opt, description) \ 738 do { \ 739 if (opt) { \ 740 if (FLAG_IS_CMDLINE(opt)) { \ 741 warning(description " is disabled in this release."); \ 742 } \ 743 FLAG_SET_DEFAULT(opt, false); \ 744 } \ 745 } while(0) 746 747 #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP | 713 set_jdkbootclasspath_append(); 714 } 715 716 static char* get_java_home() { return _java_home->value(); } 717 static char* get_dll_dir() { return _sun_boot_library_path->value(); } 718 static char* get_sysclasspath() { return _system_boot_class_path->value(); } 719 static char* get_ext_dirs() { return _ext_dirs; } 720 static char* get_appclasspath() { return _java_class_path->value(); } 721 static void fix_appclasspath(); 722 723 724 // Operation modi 725 static Mode mode() { return _mode; } 726 static bool is_interpreter_only() { return mode() == _int; } 727 728 729 // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid. 730 static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen); 731 732 static void check_unsupported_dumping_properties() NOT_CDS_RETURN; 733 734 static bool atomull(const char *s, julong* result); 735 }; 736 737 // Disable options not supported in this release, with a warning if they 738 // were explicitly requested on the command-line 739 #define UNSUPPORTED_OPTION(opt, description) \ 740 do { \ 741 if (opt) { \ 742 if (FLAG_IS_CMDLINE(opt)) { \ 743 warning(description " is disabled in this release."); \ 744 } \ 745 FLAG_SET_DEFAULT(opt, false); \ 746 } \ 747 } while(0) 748 749 #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP |