--- a/src/hotspot/share/oops/constantPool.cpp Wed Feb 13 14:20:40 2019 -0500
+++ b/src/hotspot/share/oops/constantPool.cpp Wed Feb 13 15:50:08 2019 -0500
@@ -594,21 +594,13 @@
}
-bool ConstantPool::has_method_type_at_if_loaded(const constantPoolHandle& cpool, int which) {
+bool ConstantPool::has_local_signature_at_if_loaded(const constantPoolHandle& cpool, int which) {
if (cpool->cache() == NULL) return false; // nothing to load yet
int cache_index = decode_cpcache_index(which, true);
ConstantPoolCacheEntry* e = cpool->cache()->entry_at(cache_index);
- return e->has_method_type();
+ return e->has_local_signature();
}
-oop ConstantPool::method_type_at_if_loaded(const constantPoolHandle& cpool, int which) {
- if (cpool->cache() == NULL) return NULL; // nothing to load yet
- int cache_index = decode_cpcache_index(which, true);
- ConstantPoolCacheEntry* e = cpool->cache()->entry_at(cache_index);
- return e->method_type_if_resolved(cpool);
-}
-
-
Symbol* ConstantPool::impl_name_ref_at(int which, bool uncached) {
int name_index = name_ref_index_at(impl_name_and_type_ref_index_at(which, uncached));
return symbol_at(name_index);