hotspot/src/share/vm/oops/klassVtable.cpp
changeset 17092 8d0bef547de9
parent 16591 73047b0eb568
child 20017 81eba62e9048
--- a/hotspot/src/share/vm/oops/klassVtable.cpp	Wed May 01 01:07:50 2013 +0200
+++ b/hotspot/src/share/vm/oops/klassVtable.cpp	Wed May 01 08:07:59 2013 -0700
@@ -519,6 +519,9 @@
 // check if a method is a miranda method, given a class's methods table and it's super
 // the caller must make sure that the method belongs to an interface implemented by the class
 bool klassVtable::is_miranda(Method* m, Array<Method*>* class_methods, Klass* super) {
+  if (m->is_static()) {
+    return false;
+  }
   Symbol* name = m->name();
   Symbol* signature = m->signature();
   if (InstanceKlass::find_method(class_methods, name, signature) == NULL) {