8293964: Unused check_for_duplicates parameter in ClassLoaderExt::process_jar_manifest

Reviewed-by: ccheung, dholmes
This commit is contained in:
Matias Saavedra Silva 2022-09-27 15:39:31 +00:00 committed by Calvin Cheung
parent 99017b06bf
commit 112ca2b863
3 changed files with 3 additions and 4 deletions

View File

@ -830,7 +830,7 @@ void ClassLoader::add_to_app_classpath_entries(JavaThread* current,
}
if (entry->is_jar_file()) {
ClassLoaderExt::process_jar_manifest(current, entry, check_for_duplicates);
ClassLoaderExt::process_jar_manifest(current, entry);
}
#endif
}

View File

@ -182,8 +182,7 @@ char* ClassLoaderExt::get_class_path_attr(const char* jar_path, char* manifest,
return found;
}
void ClassLoaderExt::process_jar_manifest(JavaThread* current, ClassPathEntry* entry,
bool check_for_duplicates) {
void ClassLoaderExt::process_jar_manifest(JavaThread* current, ClassPathEntry* entry) {
ResourceMark rm(current);
jint manifest_size;
char* manifest = read_manifest(current, entry, &manifest_size);

View File

@ -61,7 +61,7 @@ private:
static char* read_manifest(JavaThread* current, ClassPathEntry* entry, jint *manifest_size, bool clean_text);
public:
static void process_jar_manifest(JavaThread* current, ClassPathEntry* entry, bool check_for_duplicates);
static void process_jar_manifest(JavaThread* current, ClassPathEntry* entry);
// Called by JVMTI code to add boot classpath
static void append_boot_classpath(ClassPathEntry* new_entry);