equal
deleted
inserted
replaced
1530 !java_lang_Class::as_Klass(mirror)->is_instance_klass()) { |
1530 !java_lang_Class::as_Klass(mirror)->is_instance_klass()) { |
1531 return NULL; |
1531 return NULL; |
1532 } |
1532 } |
1533 InstanceKlass* k = InstanceKlass::cast(java_lang_Class::as_Klass(mirror)); |
1533 InstanceKlass* k = InstanceKlass::cast(java_lang_Class::as_Klass(mirror)); |
1534 int ooff = 0, noff = 0; |
1534 int ooff = 0, noff = 0; |
1535 if (InstanceKlass::find_inner_classes_attr(k, &ooff, &noff, THREAD)) { |
1535 if (k->find_inner_classes_attr(&ooff, &noff, THREAD)) { |
1536 if (noff != 0) { |
1536 if (noff != 0) { |
1537 constantPoolHandle i_cp(thread, k->constants()); |
1537 constantPoolHandle i_cp(thread, k->constants()); |
1538 Symbol* name = i_cp->symbol_at(noff); |
1538 Symbol* name = i_cp->symbol_at(noff); |
1539 Handle str = java_lang_String::create_from_symbol(name, CHECK_NULL); |
1539 Handle str = java_lang_String::create_from_symbol(name, CHECK_NULL); |
1540 return (jstring) JNIHandles::make_local(env, str()); |
1540 return (jstring) JNIHandles::make_local(env, str()); |