Skip to content

Commit 30f36ba

Browse files
committed
Deprecate Jackson 2 support for execution context serialization
Related to #4842
1 parent 700284c commit 30f36ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/Jackson2ExecutionContextStringSerializer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,10 @@
108108
* @author Mahmoud Ben Hassine
109109
* @since 3.0.7
110110
* @see ExecutionContextSerializer
111+
* @deprecated Since 6.0 in favor of {@link JacksonExecutionContextStringSerializer}.
112+
* Scheduled for removal in 7.0.
111113
*/
114+
@Deprecated(since = "6.0", forRemoval = true)
112115
@NullUnmarked
113116
public class Jackson2ExecutionContextStringSerializer implements ExecutionContextSerializer {
114117

0 commit comments

Comments
 (0)