changeset 51973:2f1698b6db15

8211328: Different declaration and definition of ClassLoaderData::classes_do() leads to build failures Reviewed-by: dcubed, coleenp
author simonis
date Mon, 01 Oct 2018 19:08:14 +0200
parents 67619141f027
children c5b97602cd4b
files src/hotspot/share/classfile/classLoaderData.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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*));