hotspot/src/share/vm/runtime/arguments.hpp
changeset 29076 4a5f7c1e6ed7
parent 28838 da47c3cc5c98
child 29696 01571dfab5be
equal deleted inserted replaced
29075:ad5e1490d635 29076:4a5f7c1e6ed7
   257   static SystemProperty *_sun_boot_library_path;
   257   static SystemProperty *_sun_boot_library_path;
   258   static SystemProperty *_java_library_path;
   258   static SystemProperty *_java_library_path;
   259   static SystemProperty *_java_home;
   259   static SystemProperty *_java_home;
   260   static SystemProperty *_java_class_path;
   260   static SystemProperty *_java_class_path;
   261   static SystemProperty *_sun_boot_class_path;
   261   static SystemProperty *_sun_boot_class_path;
   262 
       
   263   // Meta-index for knowing what packages are in the boot class path
       
   264   static char* _meta_index_path;
       
   265   static char* _meta_index_dir;
       
   266 
   262 
   267   // temporary: to emit warning if the default ext dirs are not empty.
   263   // temporary: to emit warning if the default ext dirs are not empty.
   268   // remove this variable when the warning is no longer needed.
   264   // remove this variable when the warning is no longer needed.
   269   static char* _ext_dirs;
   265   static char* _ext_dirs;
   270 
   266 
   598   static void set_java_home(char *value) { _java_home->set_value(value); }
   594   static void set_java_home(char *value) { _java_home->set_value(value); }
   599   static void set_library_path(char *value) { _java_library_path->set_value(value); }
   595   static void set_library_path(char *value) { _java_library_path->set_value(value); }
   600   static void set_ext_dirs(char *value)     { _ext_dirs = os::strdup_check_oom(value); }
   596   static void set_ext_dirs(char *value)     { _ext_dirs = os::strdup_check_oom(value); }
   601   static void set_sysclasspath(char *value) { _sun_boot_class_path->set_value(value); }
   597   static void set_sysclasspath(char *value) { _sun_boot_class_path->set_value(value); }
   602   static void append_sysclasspath(const char *value) { _sun_boot_class_path->append_value(value); }
   598   static void append_sysclasspath(const char *value) { _sun_boot_class_path->append_value(value); }
   603   static void set_meta_index_path(char* meta_index_path, char* meta_index_dir) {
       
   604     _meta_index_path = meta_index_path;
       
   605     _meta_index_dir  = meta_index_dir;
       
   606   }
       
   607 
   599 
   608   static char* get_java_home() { return _java_home->value(); }
   600   static char* get_java_home() { return _java_home->value(); }
   609   static char* get_dll_dir() { return _sun_boot_library_path->value(); }
   601   static char* get_dll_dir() { return _sun_boot_library_path->value(); }
   610   static char* get_sysclasspath() { return _sun_boot_class_path->value(); }
   602   static char* get_sysclasspath() { return _sun_boot_class_path->value(); }
   611   static char* get_meta_index_path() { return _meta_index_path; }
       
   612   static char* get_meta_index_dir()  { return _meta_index_dir;  }
       
   613   static char* get_ext_dirs()        { return _ext_dirs;  }
   603   static char* get_ext_dirs()        { return _ext_dirs;  }
   614   static char* get_appclasspath() { return _java_class_path->value(); }
   604   static char* get_appclasspath() { return _java_class_path->value(); }
   615   static void  fix_appclasspath();
   605   static void  fix_appclasspath();
   616 
   606 
   617 
   607