mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8232030: HelloDynamic.java fails with latest Graal
Include the dynamic dumping condition when setting up the merged_ordering array in merge_in_new_methods() of defaultMethods.cpp. Reviewed-by: iklam, coleenp
This commit is contained in:
parent
7987b2fbae
commit
21ce9772a7
1 changed files with 1 additions and 1 deletions
|
@ -1012,7 +1012,7 @@ static void merge_in_new_methods(InstanceKlass* klass,
|
|||
klass->class_loader_data(), new_size, NULL, CHECK);
|
||||
|
||||
// original_ordering might be empty if this class has no methods of its own
|
||||
if (JvmtiExport::can_maintain_original_method_order() || DumpSharedSpaces) {
|
||||
if (JvmtiExport::can_maintain_original_method_order() || Arguments::is_dumping_archive()) {
|
||||
merged_ordering = MetadataFactory::new_array<int>(
|
||||
klass->class_loader_data(), new_size, CHECK);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue