mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8199852: Print more information about class loaders in LinkageErrors
Reviewed-by: dholmes, lfoltan, gtriantafill
This commit is contained in:
parent
5f40eda733
commit
72a2ac8b8b
28 changed files with 660 additions and 97 deletions
|
@ -1321,6 +1321,12 @@ class java_lang_ClassLoader : AllStatic {
|
|||
// 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);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue