8211328: Different declaration and definition of ClassLoaderData::classes_do() leads to build failures
authorsimonis
Mon, 01 Oct 2018 19:08:14 +0200
changeset 51973 2f1698b6db15
parent 51972 67619141f027
child 51974 c5b97602cd4b
8211328: Different declaration and definition of ClassLoaderData::classes_do() leads to build failures Reviewed-by: dcubed, coleenp
src/hotspot/share/classfile/classLoaderData.hpp
--- a/src/hotspot/share/classfile/classLoaderData.hpp	Mon Oct 01 13:05:51 2018 -0400
+++ b/src/hotspot/share/classfile/classLoaderData.hpp	Mon Oct 01 19:08:14 2018 +0200
@@ -183,7 +183,7 @@
   bool keep_alive() const       { return _keep_alive > 0; }
 
   oop holder_phantom() const;
-  void classes_do(void f(Klass*));
+  void classes_do(void f(Klass* const));
   void loaded_classes_do(KlassClosure* klass_closure);
   void classes_do(void f(InstanceKlass*));
   void methods_do(void f(Method*));