We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9749d5a commit 4bb98f0Copy full SHA for 4bb98f0
src/java_bytecode/java_bytecode_parser.cpp
@@ -1910,15 +1910,10 @@ void java_bytecode_parsert::read_bootstrapmethods_entry(classt &parsed_class)
1910
continue;
1911
}
1912
1913
- if(
+ // If parse_method_handle can't parse the lambda method, it should return {}
1914
+ POSTCONDITION(
1915
lambda_method_handle->handle_type !=
- method_handle_typet::LAMBDA_METHOD_HANDLE)
1916
- {
1917
- lambda_method_handle->u2_values = std::move(u2_values);
1918
- error() << "ERROR: could not parse lambda function method handle"
1919
- << eom;
1920
- continue;
1921
- }
+ method_handle_typet::LAMBDA_METHOD_HANDLE);
1922
1923
lambda_method_handle->interface_type =
1924
pool_entry(interface_type_argument.ref1).s;
0 commit comments