hg: amber/amber: records: InvalidClassException is thrown when the canonical constructor cannot be found during deserialization

chris.hegarty at oracle.com chris.hegarty at oracle.com
Mon Nov 25 16:58:12 UTC 2019


Changeset: 990e9acea0dd
Author:    chegar
Date:      2019-11-25 16:56 +0000
URL:       https://hg.openjdk.java.net/amber/amber/rev/990e9acea0dd

records: InvalidClassException is thrown when the canonical constructor cannot be found during deserialization

! src/java.base/share/classes/java/io/ObjectStreamClass.java
+ test/jdk/java/io/Serializable/records/BadCanonicalCtrTest.java



More information about the amber-dev mailing list