src/share/vm/classfile/classFileParser.cpp

changeset 1862
cd5dbf694d45
parent 1801
b9d85fcdf743
child 1868
df736661d0c8
equal deleted inserted replaced
1861:2338d41fbd81 1862:cd5dbf694d45
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;

mercurial