< prev index next >
src/hotspot/share/oops/instanceKlass.hpp
Print this page
rev 58452 : imported patch pkg_name_from_class
@@ -1207,11 +1207,15 @@
static void unload_class(InstanceKlass* ik);
static void release_C_heap_structures(InstanceKlass* ik);
// Naming
const char* signature_name() const;
- static Symbol* package_from_name(const Symbol* name, TRAPS);
+
+ // Extract package name from a fully qualified class name
+ // *bad_class_name is set to true if there's a problem with parsing class_name, to
+ // distinguish from a class_name with no package name, as both cases have a NULL return value
+ static Symbol* package_from_name(const Symbol* class_name, bool* bad_class_name = NULL);
// Oop fields (and metadata) iterators
//
// The InstanceKlass iterators also visits the Object's klass.
< prev index next >