diff src/share/vm/oops/methodOop.hpp @ 1877:a4c7fe54bf3f

6991315: RedefineClasses fails with java.lang.VerifyError Summary: Repair stackmap table attribute when relocating bytecode Reviewed-by: acorn, never
author kamg
date Thu, 21 Oct 2010 10:10:23 -0400
parents d257356e35f0
children f95d63e2154a
line wrap: on
line diff
--- a/src/share/vm/oops/methodOop.hpp	Mon Oct 18 09:33:24 2010 -0700
+++ b/src/share/vm/oops/methodOop.hpp	Thu Oct 21 10:10:23 2010 -0400
@@ -247,6 +247,10 @@
     return constMethod()->stackmap_data();
   }
 
+  void set_stackmap_data(typeArrayOop sd) {
+    constMethod()->set_stackmap_data(sd);
+  }
+
   // exception handler table
   typeArrayOop exception_table() const
                                    { return constMethod()->exception_table(); }