RFR 8202922 Method reference identity is broken by serialization

Paul Sandoz paul.sandoz at oracle.com
Thu Jun 21 19:35:14 UTC 2018


Gentle reminder,
Paul.

> On Jun 14, 2018, at 10:41 AM, Paul Sandoz <Paul.Sandoz at oracle.com> wrote:
> 
> Hi,
> 
> Please review an update to the specifications of LambdaMetafactory and SerializedLambda to clarify that the identity of function objects is unpredictable. A similar (informational) clarification was made to the language specification and similar wording is used. Amusingly a quirk of (or issue with) lambda deserialization (we count our blessings it works as it does!) motivated this clarification.
> 
>  http://cr.openjdk.java.net/~psandoz/jdk/JDK-8202922-function-object-identity/webrev/
> 
> CSR:
> 
>  https://bugs.openjdk.java.net/browse/JDK-8205060
> 
> Thanks,
> Paul.



More information about the core-libs-dev mailing list