8293964: Unused check_for_duplicates parameter in ClassLoaderExt::process_jar_manifest
Reviewed-by: ccheung, dholmes
This commit is contained in:
parent
99017b06bf
commit
112ca2b863
@ -830,7 +830,7 @@ void ClassLoader::add_to_app_classpath_entries(JavaThread* current,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (entry->is_jar_file()) {
|
if (entry->is_jar_file()) {
|
||||||
ClassLoaderExt::process_jar_manifest(current, entry, check_for_duplicates);
|
ClassLoaderExt::process_jar_manifest(current, entry);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -182,8 +182,7 @@ char* ClassLoaderExt::get_class_path_attr(const char* jar_path, char* manifest,
|
|||||||
return found;
|
return found;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ClassLoaderExt::process_jar_manifest(JavaThread* current, ClassPathEntry* entry,
|
void ClassLoaderExt::process_jar_manifest(JavaThread* current, ClassPathEntry* entry) {
|
||||||
bool check_for_duplicates) {
|
|
||||||
ResourceMark rm(current);
|
ResourceMark rm(current);
|
||||||
jint manifest_size;
|
jint manifest_size;
|
||||||
char* manifest = read_manifest(current, entry, &manifest_size);
|
char* manifest = read_manifest(current, entry, &manifest_size);
|
||||||
|
@ -61,7 +61,7 @@ private:
|
|||||||
static char* read_manifest(JavaThread* current, ClassPathEntry* entry, jint *manifest_size, bool clean_text);
|
static char* read_manifest(JavaThread* current, ClassPathEntry* entry, jint *manifest_size, bool clean_text);
|
||||||
|
|
||||||
public:
|
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
|
// Called by JVMTI code to add boot classpath
|
||||||
static void append_boot_classpath(ClassPathEntry* new_entry);
|
static void append_boot_classpath(ClassPathEntry* new_entry);
|
||||||
|
Loading…
Reference in New Issue
Block a user