Skip to content

Commit

Permalink
8293964: Unused check_for_duplicates parameter in ClassLoaderExt::pro…
Browse files Browse the repository at this point in the history
…cess_jar_manifest

Reviewed-by: ccheung, dholmes
  • Loading branch information
matias9927 authored and calvinccheung committed Sep 27, 2022
1 parent 99017b0 commit 112ca2b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/hotspot/share/classfile/classLoader.cpp
Expand Up @@ -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
}
Expand Down
3 changes: 1 addition & 2 deletions src/hotspot/share/classfile/classLoaderExt.cpp
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/classfile/classLoaderExt.hpp
Expand Up @@ -61,7 +61,7 @@ class ClassLoaderExt: public ClassLoader { // AllStatic
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);
Expand Down

1 comment on commit 112ca2b

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.