src/share/vm/classfile/classLoader.hpp

changeset 9931
fd44df5e3bc3
parent 8604
04d83ba48607
parent 9926
d20a5f399218
     1.1 --- a/src/share/vm/classfile/classLoader.hpp	Wed Oct 14 16:43:13 2020 +0800
     1.2 +++ b/src/share/vm/classfile/classLoader.hpp	Wed Oct 14 17:44:48 2020 +0800
     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  

mercurial