diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/step/tasklet/TaskletStep.java b/spring-batch-core/src/main/java/org/springframework/batch/core/step/tasklet/TaskletStep.java index 7982f192b..9bfc3e564 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/step/tasklet/TaskletStep.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/step/tasklet/TaskletStep.java @@ -366,11 +366,6 @@ public class TaskletStep extends AbstractStep { } } - if (fatalException.hasException()) { - // Try and give the system a chance to update the stepExecution with - // the failure status. - getJobRepository().update(stepExecution); - } } private static class ExceptionHolder {