1835 signature() == vmSymbols::void_method_signature() && |
1835 signature() == vmSymbols::void_method_signature() && |
1836 m->is_vanilla_constructor()) { |
1836 m->is_vanilla_constructor()) { |
1837 _has_vanilla_constructor = true; |
1837 _has_vanilla_constructor = true; |
1838 } |
1838 } |
1839 |
1839 |
1840 if (EnableMethodHandles && m->is_method_handle_invoke()) { |
1840 if (EnableMethodHandles && (m->is_method_handle_invoke() || |
|
1841 m->is_method_handle_adapter())) { |
1841 THROW_MSG_(vmSymbols::java_lang_VirtualMachineError(), |
1842 THROW_MSG_(vmSymbols::java_lang_VirtualMachineError(), |
1842 "Method handle invokers must be defined internally to the VM", nullHandle); |
1843 "Method handle invokers must be defined internally to the VM", nullHandle); |
1843 } |
1844 } |
1844 |
1845 |
1845 return m; |
1846 return m; |