mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8165550: Add class loader names to ClassCastException message
Adds new format of class loader names to VM ClassCastException messages Reviewed-by: dholmes, mchung, lfoltan
This commit is contained in:
parent
81f1e7056b
commit
3f2be39bb3
6 changed files with 253 additions and 39 deletions
|
@ -36,6 +36,7 @@
|
|||
#include "utilities/ostream.hpp"
|
||||
|
||||
#define UNNAMED_MODULE "Unnamed Module"
|
||||
#define JAVA_BASE_NAME "java.base"
|
||||
|
||||
class ModuleClosure;
|
||||
|
||||
|
@ -100,6 +101,7 @@ public:
|
|||
|
||||
Symbol* location() const { return _location; }
|
||||
void set_location(Symbol* location);
|
||||
bool is_non_jdk_module();
|
||||
|
||||
bool can_read(ModuleEntry* m) const;
|
||||
bool has_reads() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue