8205509: assert(_name_and_id != 0LL) failed: encountered a class loader null name and id

The method loader_name_and_id should return the external name of the class loader if _name_and_id is null.

Reviewed-by: coleenp, stuefe
This commit is contained in:
Lois Foltan 2018-06-25 10:34:46 -04:00
parent 3d7d35c321
commit 48500f81a1
2 changed files with 10 additions and 8 deletions

View file

@ -305,7 +305,7 @@ class ClassLoaderData : public CHeapObj<mtClass> {
Dictionary* create_dictionary();
void initialize_name_and_klass(Handle class_loader);
void initialize_name(Handle class_loader);
public:
// GC interface.
void clear_claimed() { _claimed = 0; }