Skip to content

Commit 1cfb490

Browse files
committed
Make JacksonFeatureSet java.io.Serializable
1 parent f878f33 commit 1cfb490

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

release-notes/VERSION-2.x

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ a pure JSON library.
1717
Not yet released:
1818

1919
#1136: Change parsing error message to mention `-INF`
20+
- Make `JacksonFeatureSet` serializable
2021

2122
2.16.0-rc1 (20-Oct-2023)
2223

src/main/java/com/fasterxml/jackson/core/util/JacksonFeatureSet.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
* @since 2.12
1010
*/
1111
public final class JacksonFeatureSet<F extends JacksonFeature>
12+
implements java.io.Serializable // since 2.16
1213
{
14+
private static final long serialVersionUID = 1L;
15+
1316
protected int _enabled;
1417

1518
/**

0 commit comments

Comments
 (0)