Skip to content

Commit 4ba1225

Browse files
author
duke
committed
Backport e1196584d5c61e3a6baa3eb96801a518cd5dca64
1 parent e853a44 commit 4ba1225

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hotspot/share/cds/filemap.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ void SharedClassPathEntry::set_name(const char* name, TRAPS) {
358358
}
359359

360360
void SharedClassPathEntry::copy_from(SharedClassPathEntry* ent, ClassLoaderData* loader_data, TRAPS) {
361+
assert(ent != NULL, "sanity");
361362
_type = ent->_type;
362363
_is_module_path = ent->_is_module_path;
363364
_timestamp = ent->_timestamp;

0 commit comments

Comments
 (0)