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
--- 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));
}
};