diff --git a/src/hotspot/share/oops/cpCache.hpp b/src/hotspot/share/oops/cpCache.hpp index 2f81f4be135..b4daaf1ee5b 100644 --- a/src/hotspot/share/oops/cpCache.hpp +++ b/src/hotspot/share/oops/cpCache.hpp @@ -131,7 +131,6 @@ class CallInfo; class ConstantPoolCacheEntry { friend class VMStructs; - friend class constantPoolCacheKlass; friend class ConstantPool; friend class InterpreterRuntime; @@ -474,7 +473,6 @@ class ConstantPoolCache: public MetaspaceObj { ConstantPool** constant_pool_addr() { return &_constant_pool; } ConstantPoolCacheEntry* base() const { return (ConstantPoolCacheEntry*)((address)this + in_bytes(base_offset())); } - friend class constantPoolCacheKlass; friend class ConstantPoolCacheEntry; public: