mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
6991315: RedefineClasses fails with java.lang.VerifyError
Repair stackmap table attribute when relocating bytecode Reviewed-by: acorn, never
This commit is contained in:
parent
daa052114f
commit
c3401153c8
5 changed files with 1043 additions and 0 deletions
|
@ -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(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue