Withdrawn: 8374654: Inconsistent handling of lambda deserialization for Object method references on interfaces
Liam Miller-Cushon
cushon at openjdk.org
Mon Jan 26 14:20:26 UTC 2026
On Tue, 6 Jan 2026 23:26:35 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:
> See [JDK-8374654](https://bugs.openjdk.org/browse/JDK-8374654). This fixes an inconsistency between generated Lambda `$deserialization$` methods and the runtime behaviour of `SerializedLambda` instances, for Object method references on interfaces. At runtime the methods are resolved to declared methods, so Object method references on interfaces will always have the `getImplMethodKind`, `getImplClass`, and `getImplMethodSignature` of the method declared in `Object`, not of an override in the interface.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/29075
More information about the compiler-dev
mailing list