--- a/src/hotspot/share/oops/constantPool.cpp Fri Feb 23 12:47:36 2018 +0100
+++ b/src/hotspot/share/oops/constantPool.cpp Fri Feb 23 07:47:29 2018 -0500
@@ -547,12 +547,6 @@
}
}
-
-Klass* ConstantPool::klass_ref_at_if_loaded(const constantPoolHandle& this_cp, int which) {
- return klass_at_if_loaded(this_cp, this_cp->klass_ref_index_at(which));
-}
-
-
Method* ConstantPool::method_at_if_loaded(const constantPoolHandle& cpool,
int which) {
if (cpool->cache() == NULL) return NULL; // nothing to load yet