6991315: RedefineClasses fails with java.lang.VerifyError

Repair stackmap table attribute when relocating bytecode

Reviewed-by: acorn, never
This commit is contained in:
Keith McGuigan 2010-10-21 10:10:23 -04:00
parent daa052114f
commit c3401153c8
5 changed files with 1043 additions and 0 deletions

View file

@ -247,6 +247,10 @@ class methodOopDesc : public oopDesc {
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(); }