diff src/share/vm/runtime/reflection.cpp @ 12264:b2e698d2276c

8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation Summary: Enhance method resolution and resulting data structures, plus some refactoring. Reviewed-by: twisti, acorn, jrose
author drchase
date Fri, 13 Sep 2013 22:38:02 -0400
parents c1bd7b5bdc70
children cdf20166ec45
line wrap: on
line diff
--- a/src/share/vm/runtime/reflection.cpp	Tue Sep 17 23:12:27 2013 +0200
+++ b/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