7019689: Non-dependent name is found in dependent base class although it should be rejected
authorcoleenp
Wed, 16 Feb 2011 17:12:31 -0500
changeset 8310 d7c285113f48
parent 8308 73dec186d97d
child 8311 39d37eed5241
7019689: Non-dependent name is found in dependent base class although it should be rejected Summary: fix hashtable.hpp to qualify non-dependant name with "this" Reviewed-by: phh, never, poonam Contributed-by: volker.simonis@gmail.com
hotspot/src/share/vm/utilities/hashtable.hpp
--- a/hotspot/src/share/vm/utilities/hashtable.hpp	Wed Feb 16 01:42:00 2011 -0500
+++ b/hotspot/src/share/vm/utilities/hashtable.hpp	Wed Feb 16 17:12:31 2011 -0500
@@ -276,7 +276,7 @@
   }
 
   int index_for(Symbol* name, Handle loader) {
-    return hash_to_index(compute_hash(name, loader));
+    return this->hash_to_index(compute_hash(name, loader));
   }
 };