Fixed
Details
Assignee
Alex MillerAlex MillerReporter
Alex MillerAlex MillerLabels
Approval
OkPatch
CodePriority
BlockerAffects versions
Fix versions
Details
Details
Assignee
Alex Miller
Alex MillerReporter
Alex Miller
Alex MillerLabels
Approval
Ok
Patch
Code
Priority
Affects versions
Fix versions
Created March 30, 2022 at 8:36 PM
Updated April 1, 2022 at 6:28 PM
Resolved April 1, 2022 at 6:28 PM
Clojure 1.11 had implementation changes in Keyword and ArraySeq. Due to this, the computed serialVersionUID used by Java serialization changed, however the fields affecting serialization did not. These classes should follow the standard Java advice to define a serialVersionUID and only change it when the serialization changes.
This is a general problem with all Clojure Serializable classes and that will be tracked in the existing https://clojure.atlassian.net/browse/CLJ-1327 in a future release. In this ticket we are considering only these two classes that changed in 1.11.
Approach: Set the Clojure 1.10.3 serialVersionUID versions in 1.11.1 so they continue to match (these can be obtained with the
serialver
tool in the JDK.Patch: clj-2701.patch
Test harness: https://github.com/puredanger/clj-2701
Screened by: fogus