In practice, serializing lambda's relies of details not explicit in the specification ( JDK-8282080).