--- a/src/hotspot/share/classfile/javaClasses.hpp Mon May 07 14:42:10 2018 +0200
+++ b/src/hotspot/share/classfile/javaClasses.hpp Mon May 07 11:38:21 2018 +0200
@@ -1321,6 +1321,12 @@
// Debugging
friend class JavaClasses;
friend class ClassFileParser; // access to number_of_fake_fields
+
+ // Describe ClassLoader for exceptions, tracing ...
+ // Prints "<name>" (instance of <classname>, child of "<name>" <classname>).
+ // If a classloader has no name, it prints <unnamed> instead. The output
+ // for well known loaders (system/platform) is abbreviated.
+ static const char* describe_external(const oop loader);
};