127 struct stat _st; |
127 struct stat _st; |
128 MetaIndex* _meta_index; |
128 MetaIndex* _meta_index; |
129 bool _has_error; |
129 bool _has_error; |
130 bool _throw_exception; |
130 bool _throw_exception; |
131 volatile ClassPathEntry* _resolved_entry; |
131 volatile ClassPathEntry* _resolved_entry; |
|
132 public: |
132 ClassPathEntry* resolve_entry(TRAPS); |
133 ClassPathEntry* resolve_entry(TRAPS); |
133 public: |
|
134 bool is_jar_file(); |
134 bool is_jar_file(); |
135 const char* name() { return _path; } |
135 const char* name() { return _path; } |
136 LazyClassPathEntry(const char* path, const struct stat* st, bool throw_exception); |
136 LazyClassPathEntry(const char* path, const struct stat* st, bool throw_exception); |
137 u1* open_entry(const char* name, jint* filesize, bool nul_terminate, TRAPS); |
137 u1* open_entry(const char* name, jint* filesize, bool nul_terminate, TRAPS); |
138 ClassFileStream* open_stream(const char* name, TRAPS); |
138 ClassFileStream* open_stream(const char* name, TRAPS); |
216 // Initialization |
216 // Initialization |
217 static void setup_bootstrap_meta_index(); |
217 static void setup_bootstrap_meta_index(); |
218 static void setup_meta_index(const char* meta_index_path, const char* meta_index_dir, |
218 static void setup_meta_index(const char* meta_index_path, const char* meta_index_dir, |
219 int start_index); |
219 int start_index); |
220 static void setup_bootstrap_search_path(); |
220 static void setup_bootstrap_search_path(); |
221 static void setup_search_path(const char *class_path); |
221 static void setup_search_path(const char *class_path, bool canonicalize=false); |
222 |
222 |
223 static void load_zip_library(); |
223 static void load_zip_library(); |
224 static ClassPathEntry* create_class_path_entry(const char *path, const struct stat* st, |
224 static ClassPathEntry* create_class_path_entry(const char *path, const struct stat* st, |
225 bool lazy, bool throw_exception, TRAPS); |
225 bool lazy, bool throw_exception, TRAPS); |
226 |
226 |