changeset 5418: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 c72075c2883e
children c01f4910f5f5 e831448418ac
files src/share/vm/oops/instanceKlass.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
   }