mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8205611: Improve the wording of LinkageErrors to include module and class loader information
Clean up the wording of loader constraint violations to include the module and class loader information. Reviewed-by: coleenp, goetz, hseigel
This commit is contained in:
parent
e8fcd927c3
commit
cc58241bec
9 changed files with 149 additions and 194 deletions
|
@ -1310,12 +1310,6 @@ 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