equal
deleted
inserted
replaced
163 } |
163 } |
164 } |
164 } |
165 |
165 |
166 |
166 |
167 MetaIndex::~MetaIndex() { |
167 MetaIndex::~MetaIndex() { |
168 FREE_C_HEAP_ARRAY(char*, _meta_package_names, mtClass); |
168 FREE_C_HEAP_ARRAY(char*, _meta_package_names); |
169 } |
169 } |
170 |
170 |
171 |
171 |
172 bool MetaIndex::may_contain(const char* class_name) { |
172 bool MetaIndex::may_contain(const char* class_name) { |
173 if ( _num_meta_package_names == 0) { |
173 if ( _num_meta_package_names == 0) { |
249 |
249 |
250 ClassPathZipEntry::~ClassPathZipEntry() { |
250 ClassPathZipEntry::~ClassPathZipEntry() { |
251 if (ZipClose != NULL) { |
251 if (ZipClose != NULL) { |
252 (*ZipClose)(_zip); |
252 (*ZipClose)(_zip); |
253 } |
253 } |
254 FREE_C_HEAP_ARRAY(char, _zip_name, mtClass); |
254 FREE_C_HEAP_ARRAY(char, _zip_name); |
255 } |
255 } |
256 |
256 |
257 u1* ClassPathZipEntry::open_entry(const char* name, jint* filesize, bool nul_terminate, TRAPS) { |
257 u1* ClassPathZipEntry::open_entry(const char* name, jint* filesize, bool nul_terminate, TRAPS) { |
258 // enable call to C land |
258 // enable call to C land |
259 JavaThread* thread = JavaThread::current(); |
259 JavaThread* thread = JavaThread::current(); |