< prev index next >

src/hotspot/share/classfile/packageEntry.cpp

Print this page
@@ -245,11 +245,11 @@
  void PackageEntry::iterate_symbols(MetaspaceClosure* closure) {
    closure->push(&_name);
  }
  
  void PackageEntry::init_as_archived_entry() {
-   Array<ModuleEntry*>* archived_qualified_exports = ModuleEntry::write_growable_array(_qualified_exports);
+   Array<ModuleEntry*>* archived_qualified_exports = ModuleEntry::write_growable_array(module(), _qualified_exports);
  
    _name = ArchiveBuilder::get_buffered_symbol(_name);
    _module = ModuleEntry::get_archived_entry(_module);
    _qualified_exports = (GrowableArray<ModuleEntry*>*)archived_qualified_exports;
    _defined_by_cds_in_class_path = 0;
< prev index next >