提交 3db5657e 编写于 作者: V vlivanov

8073644: Assertion in LambdaFormEditor.bindArgumentType is too strict

Reviewed-by: psandoz
上级 f29b0d09
......@@ -436,7 +436,7 @@ class LambdaFormEditor {
}
private MethodType bindArgumentType(BoundMethodHandle mh, int pos, BasicType bt) {
assert(mh.form == lambdaForm);
assert(mh.form.uncustomize() == lambdaForm);
assert(mh.form.names[1+pos].type == bt);
assert(BasicType.basicType(mh.type().parameterType(pos)) == bt);
return mh.type().dropParameterTypes(pos, pos+1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册