8303495: Unused path parameter in ClassLoader::add_to_app_classpath_entries(JavaThread* current, char* path, ...)

Reviewed-by: ccheung, dholmes
This commit is contained in:
Matias Saavedra Silva 2023-03-10 16:31:41 +00:00 committed by Coleen Phillimore
parent 548d552bc1
commit c26e1d0148
2 changed files with 1 additions and 3 deletions

View File

@ -802,7 +802,6 @@ void ClassLoader::add_to_boot_append_entries(ClassPathEntry *new_entry) {
// loading app classes. Instead, the app class are loaded by the
// jdk/internal/loader/ClassLoaders$AppClassLoader instance.
void ClassLoader::add_to_app_classpath_entries(JavaThread* current,
const char* path,
ClassPathEntry* entry,
bool check_for_duplicates) {
#if INCLUDE_CDS
@ -853,7 +852,7 @@ bool ClassLoader::update_class_path_entry_list(JavaThread* current,
if (is_boot_append) {
add_to_boot_append_entries(new_entry);
} else {
add_to_app_classpath_entries(current, path, new_entry, check_for_duplicates);
add_to_app_classpath_entries(current, new_entry, check_for_duplicates);
}
return true;
} else {

View File

@ -223,7 +223,6 @@ class ClassLoader: AllStatic {
CDS_ONLY(static void setup_app_search_path(JavaThread* current, const char* class_path);)
CDS_ONLY(static void setup_module_search_path(JavaThread* current, const char* path);)
static void add_to_app_classpath_entries(JavaThread* current,
const char* path,
ClassPathEntry* entry,
bool check_for_duplicates);
CDS_ONLY(static void add_to_module_path_entries(const char* path,