hotspot/src/share/vm/classfile/classLoader.cpp
void ClassLoader::add_to_list(ClassPathEntry *new_entry) {
{- -------------------------------------------
(1) new_entry 引数で指定された要素を, リストの最後に追加する.
---------------------------------------- -}
if (new_entry != NULL) {
if (_last_entry == NULL) {
_first_entry = _last_entry = new_entry;
} else {
_last_entry->set_next(new_entry);
_last_entry = new_entry;
}
}
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.