8303475: potential null pointer dereference in filemap.cpp
Reviewed-by: dholmes
This commit is contained in:
parent
cf799ba232
commit
e1196584d5
@ -361,6 +361,7 @@ void SharedClassPathEntry::set_name(const char* name, TRAPS) {
|
||||
}
|
||||
|
||||
void SharedClassPathEntry::copy_from(SharedClassPathEntry* ent, ClassLoaderData* loader_data, TRAPS) {
|
||||
assert(ent != NULL, "sanity");
|
||||
_type = ent->_type;
|
||||
_is_module_path = ent->_is_module_path;
|
||||
_timestamp = ent->_timestamp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user