hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp
changeset 17029 9ff8d7c0ed79
parent 15744 fd58c7e770b3
child 17077 8607f7c33310
--- a/hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp	Fri Apr 19 16:51:27 2013 -0700
+++ b/hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp	Sat Apr 20 04:07:08 2013 -0700
@@ -3284,6 +3284,16 @@
   // that reference methods of the evolved class.
   SystemDictionary::classes_do(adjust_cpool_cache_and_vtable, THREAD);
 
+  // JSR-292 support
+  MemberNameTable* mnt = the_class->member_names();
+  if (mnt != NULL) {
+    bool trace_name_printed = false;
+    mnt->adjust_method_entries(_matching_old_methods,
+                               _matching_new_methods,
+                               _matching_methods_length,
+                               &trace_name_printed);
+  }
+
   // Fix Resolution Error table also to remove old constant pools
   SystemDictionary::delete_resolution_error(old_constants);