1.1 --- a/src/share/vm/classfile/classLoader.hpp Fri Jun 12 02:59:56 2020 +0100 1.2 +++ b/src/share/vm/classfile/classLoader.hpp Mon Jun 15 14:08:11 2020 +0300 1.3 @@ -366,6 +366,11 @@ 1.4 // creates a class path zip entry (returns NULL if JAR file cannot be opened) 1.5 static ClassPathZipEntry* create_class_path_zip_entry(const char *apath); 1.6 1.7 + // obtain package name from a fully qualified class name 1.8 + // *bad_class_name is set to true if there's a problem with parsing class_name, to 1.9 + // distinguish from a class_name with no package name, as both cases have a NULL return value 1.10 + static const char* package_from_name(const char* const class_name, bool* bad_class_name = NULL); 1.11 + 1.12 // Debugging 1.13 static void verify() PRODUCT_RETURN; 1.14