Uploaded image for project: 'Spring Batch'
  1. Spring Batch
  2. BATCH-1932

Incorrect synchronization of SimpleDateFormatter and NumberFormat.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Works as Designed
    • Affects Version/s: 2.1.9
    • Fix Version/s: 2.2.0, 2.2.0 - Sprint 14
    • Component/s: Infrastructure
    • Labels:
      None

      Description

      DefaultFieldSet creates instances of both SimpleDateFormat and NumberFormat as instance variables and uses them without synchronization when parsing a line. Per the javadoc, neither of these formatters are thread-safe.

        Attachments

          Activity

            People

            • Assignee:
              mminella Michael Minella
              Reporter:
              mminella Michael Minella
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.25d
                0.25d
                Remaining:
                Remaining Estimate - 0.25d
                0.25d
                Logged:
                Time Spent - Not Specified
                Not Specified