--- a/hotspot/src/share/vm/classfile/classLoader.cpp Wed Nov 26 20:38:10 2014 -0500
+++ b/hotspot/src/share/vm/classfile/classLoader.cpp Wed Dec 03 20:32:33 2014 -0800
@@ -162,7 +162,7 @@
MetaIndex::~MetaIndex() {
- FREE_C_HEAP_ARRAY(char*, _meta_package_names, mtClass);
+ FREE_C_HEAP_ARRAY(char*, _meta_package_names);
}
@@ -248,7 +248,7 @@
if (ZipClose != NULL) {
(*ZipClose)(_zip);
}
- FREE_C_HEAP_ARRAY(char, _zip_name, mtClass);
+ FREE_C_HEAP_ARRAY(char, _zip_name);
}
u1* ClassPathZipEntry::open_entry(const char* name, jint* filesize, bool nul_terminate, TRAPS) {