equal
deleted
inserted
replaced
627 defc->link_class(CHECK); // possible safepoint |
627 defc->link_class(CHECK); // possible safepoint |
628 |
628 |
629 // convert the external string name to an internal symbol |
629 // convert the external string name to an internal symbol |
630 TempNewSymbol name = java_lang_String::as_symbol_or_null(name_str()); |
630 TempNewSymbol name = java_lang_String::as_symbol_or_null(name_str()); |
631 if (name == NULL) return; // no such name |
631 if (name == NULL) return; // no such name |
|
632 if (name == vmSymbols::class_initializer_name()) |
|
633 return; // illegal name |
632 |
634 |
633 Handle polymorphic_method_type; |
635 Handle polymorphic_method_type; |
634 bool polymorphic_signature = false; |
636 bool polymorphic_signature = false; |
635 if ((flags & ALL_KINDS) == IS_METHOD && |
637 if ((flags & ALL_KINDS) == IS_METHOD && |
636 (defc() == SystemDictionary::MethodHandle_klass() && |
638 (defc() == SystemDictionary::MethodHandle_klass() && |