< prev index next >
src/hotspot/share/oops/klass.hpp
Print this page
rev 50260 : 8199940: Print more information about class loaders in IllegalAccessErrors.
ReviewedBy: lfoltan
@@ -540,10 +540,13 @@
// For arrays, this returns the name of the element with a leading '['.
// For classes, this returns the name with a leading 'L' and a trailing ';'
// and the package separators as '/'.
virtual const char* signature_name() const;
+ // Returns a descriptive string as "<class loader name>/<module>/class name".
+ // This is the format used in stack traces and similar. Based on
+ // external_name().
const char* class_loader_and_module_name() const;
// Returns "interface", "abstract class" or "class".
const char* external_kind() const;
< prev index next >