changeset 8310:d7c285113f48

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
author coleenp
date Wed, 16 Feb 2011 17:12:31 -0500
parents 73dec186d97d
children 39d37eed5241
files hotspot/src/share/vm/utilities/hashtable.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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));
   }
 };