8026185: nsk/jvmit/GetMethodDeclaringClass/declcls001 failed

Missed initialization. Thanks Coleen.

Reviewed-by: coleenp, minqi
This commit is contained in:
Karen Kinnear 2013-10-09 17:57:17 -04:00
parent 920880a243
commit 1514de31eb

View file

@ -1458,7 +1458,7 @@ Method* InstanceKlass::uncached_lookup_method(Symbol* name, Symbol* signature) c
// Do NOT return private or static methods
Method* InstanceKlass::lookup_method_in_ordered_interfaces(Symbol* name,
Symbol* signature) const {
Method* m;
Method* m = NULL;
if (default_methods() != NULL) {
m = find_method(default_methods(), name, signature);
}