RFR 8202922 Method reference identity is broken by serialization

Jim Laskey james.laskey at oracle.com
Thu Jun 21 19:43:31 UTC 2018


+1

> On Jun 14, 2018, at 2:41 PM, 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