8242134: Consolidate the get_package_entry() in SystemDictionaryShared and ClassLoader

Keep the version in ClassLoader.

Reviewed-by: hseigel, redestad, lfoltan
This commit is contained in:
Calvin Cheung 2020-04-08 08:56:05 -07:00
parent 0ffbbc821a
commit dd4e04d6f5
4 changed files with 11 additions and 18 deletions

View file

@ -272,9 +272,7 @@ class ClassLoader: AllStatic {
static bool get_canonical_path(const char* orig, char* out, int len);
static const char* file_name_for_class_name(const char* class_name,
int class_name_len);
static PackageEntry* get_package_entry(Symbol* pkg_name, ClassLoaderData* loader_data, TRAPS);
public:
static PackageEntry* get_package_entry(Symbol* pkg_name, ClassLoaderData* loader_data);
static int crc32(int crc, const char* buf, int len);
static bool update_class_path_entry_list(const char *path,
bool check_for_duplicates,