hotspot/src/share/vm/runtime/reflection.cpp
changeset 20017 81eba62e9048
parent 18508 3b95160639d8
child 21729 6fe1dafeb82e
--- a/hotspot/src/share/vm/runtime/reflection.cpp	Tue Sep 17 23:12:27 2013 +0200
+++ b/hotspot/src/share/vm/runtime/reflection.cpp	Fri Sep 13 22:38:02 2013 -0400
@@ -952,7 +952,8 @@
         }
       }  else {
         // if the method can be overridden, we resolve using the vtable index.
-        int index  = reflected_method->vtable_index();
+        assert(!reflected_method->has_itable_index(), "");
+        int index = reflected_method->vtable_index();
         method = reflected_method;
         if (index != Method::nonvirtual_vtable_index) {
           // target_klass might be an arrayKlassOop but all vtables start at