diff -r d5a7407108b4 -r 24ec8a039c90 hotspot/src/share/vm/classfile/protectionDomainCache.hpp --- a/hotspot/src/share/vm/classfile/protectionDomainCache.hpp Wed Aug 02 08:19:09 2017 -0400 +++ b/hotspot/src/share/vm/classfile/protectionDomainCache.hpp Wed Aug 02 10:52:50 2017 -0400 @@ -51,7 +51,6 @@ f->do_oop(literal_addr()); } - void print() PRODUCT_RETURN; void verify(); }; @@ -67,7 +66,7 @@ class ProtectionDomainCacheTable : public Hashtable { friend class VMStructs; private: - ProtectionDomainCacheEntry* bucket(int i) { + ProtectionDomainCacheEntry* bucket(int i) const { return (ProtectionDomainCacheEntry*) Hashtable::bucket(i); } @@ -96,7 +95,7 @@ // GC support void oops_do(OopClosure* f); - void print() PRODUCT_RETURN; + void print_on(outputStream* st) const; void verify(); };