changeset 20396:0ed0e7aa1ed8

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 55915f609319
children 2d8d8790819a 6ae7d35cf89d
files hotspot/src/share/vm/oops/instanceKlass.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/vm/oops/instanceKlass.cpp	Tue Oct 08 16:58:23 2013 -0400
+++ b/hotspot/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);
   }