From e1bf4713124cfb3ce325e5f7677be7de0a532d17 Mon Sep 17 00:00:00 2001 From: Coleen Phillimore Date: Tue, 31 Jan 2023 18:06:14 +0000 Subject: [PATCH] 8301555: Remove constantPoolCacheKlass friend Reviewed-by: fparain, kbarrett --- src/hotspot/share/oops/cpCache.hpp | 2 -- 1 file changed, 2 deletions(-) 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: