Mercurial > hg > truffle
diff src/share/vm/oops/instanceKlass.cpp @ 12828:d25557d03ec0
8026185: nsk/jvmit/GetMethodDeclaringClass/declcls001 failed
Summary: Missed initialization. Thanks Coleen.
Reviewed-by: coleenp, minqi
author | acorn |
---|---|
date | Wed, 09 Oct 2013 17:57:17 -0400 |
parents | ac9cb1d5a202 |
children | d37a0525c0fe |
line wrap: on
line diff
--- a/src/share/vm/oops/instanceKlass.cpp Tue Oct 08 16:58:23 2013 -0400 +++ b/src/share/vm/oops/instanceKlass.cpp Wed Oct 09 17:57:17 2013 -0400 @@ -1458,7 +1458,7 @@ // 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); }