mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8267350: Archived old interface extends interface with default method causes crash
Reviewed-by: iklam, minqi
This commit is contained in:
parent
005d8a7fca
commit
1c7a1310d9
6 changed files with 196 additions and 1 deletions
|
@ -2370,7 +2370,11 @@ void InstanceKlass::metaspace_pointers_do(MetaspaceClosure* it) {
|
|||
it->push(&_local_interfaces);
|
||||
it->push(&_transitive_interfaces);
|
||||
it->push(&_method_ordering);
|
||||
it->push(&_default_vtable_indices);
|
||||
if (!is_rewritten()) {
|
||||
it->push(&_default_vtable_indices, MetaspaceClosure::_writable);
|
||||
} else {
|
||||
it->push(&_default_vtable_indices);
|
||||
}
|
||||
it->push(&_fields);
|
||||
|
||||
if (itable_length() > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue