src/share/vm/classfile/defaultMethods.cpp

Print this page

        

@@ -1089,10 +1089,11 @@
       }
       ++new_idx;
     }
     // update idnum for new location
     merged_methods->at(i)->set_method_idnum(i);
+    merged_methods->at(i)->set_orig_method_idnum(i);
   }
 
   // Verify correct order
 #ifdef ASSERT
   uintptr_t prev = 0;