changeset 2240:3adec115d40d

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 5415131bc5ab
children a959935a5732
files src/share/vm/utilities/hashtable.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/utilities/hashtable.hpp	Wed Feb 16 01:42:00 2011 -0500
+++ b/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));
   }
 };