diff --git a/release-notes/VERSION-2.x b/release-notes/VERSION-2.x index 13a02b084a..951e5c338b 100644 --- a/release-notes/VERSION-2.x +++ b/release-notes/VERSION-2.x @@ -17,6 +17,7 @@ a pure JSON library. Not yet released: #1136: Change parsing error message to mention `-INF` +- Make `JacksonFeatureSet` serializable 2.16.0-rc1 (20-Oct-2023) diff --git a/src/main/java/tools/jackson/core/util/JacksonFeatureSet.java b/src/main/java/tools/jackson/core/util/JacksonFeatureSet.java index 04be91fc62..914a7b4e50 100644 --- a/src/main/java/tools/jackson/core/util/JacksonFeatureSet.java +++ b/src/main/java/tools/jackson/core/util/JacksonFeatureSet.java @@ -9,7 +9,10 @@ * @since 2.12 */ public final class JacksonFeatureSet + implements java.io.Serializable // since 2.16 { + private static final long serialVersionUID = 1L; + protected int _enabled; /**