RFR 8202922 Method reference identity is broken by serialization

Paul Sandoz paul.sandoz at oracle.com
Thu Jun 14 17:41:20 UTC 2018


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