comparison src/share/vm/utilities/hashtable.hpp @ 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 3582bf76420e
children 1d1603768966
comparison
equal deleted inserted replaced
2238:5415131bc5ab 2240:3adec115d40d
274 unsigned int loader_hash = loader.is_null() ? 0 : loader->identity_hash(); 274 unsigned int loader_hash = loader.is_null() ? 0 : loader->identity_hash();
275 return name_hash ^ loader_hash; 275 return name_hash ^ loader_hash;
276 } 276 }
277 277
278 int index_for(Symbol* name, Handle loader) { 278 int index_for(Symbol* name, Handle loader) {
279 return hash_to_index(compute_hash(name, loader)); 279 return this->hash_to_index(compute_hash(name, loader));
280 } 280 }
281 }; 281 };
282 282
283 #endif // SHARE_VM_UTILITIES_HASHTABLE_HPP 283 #endif // SHARE_VM_UTILITIES_HASHTABLE_HPP