RFR: 8282080: Lambda deserialization fails for Object method references on interfaces

Jan Lahoda jlahoda at openjdk.java.net
Mon Apr 25 20:55:57 UTC 2022

On Mon, 25 Apr 2022 20:16:44 GMT, Vicente Romero <vromero at openjdk.org> wrote:

> > At runtime, this will get converted to `Object::hashCode`
> and why is this converted to `Object::hashCode`? is this specified somewhere or it is an unspecified behavior

I don't know if it is specified somewhere - the runtime (before `LambdaMetafactory` is called) is doing that. But, I don't think it is easy to change, as that would likely have notable compatibility consequences.


PR: https://git.openjdk.java.net/jdk/pull/8054

More information about the compiler-dev mailing list