Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.4.19, 6.2.0
    • Fix Version/s: None
    • Component/s: wicket
    • Labels:
      None

      Description

      As described in https://issues.apache.org/jira/browse/WICKET-102 , DateConverter internally uses DateFormat to do its job, without the external synchronization DateFormat's javadoc states it need.

      Since DateConverter is used by Wicket in a multi-threaded scenario (converters instances can be shared between threads) it should guarantee thread-safeness.
      A user of DateConverter (and he could be unaware of using a DateConverter) shouldn't worry about its internal mechanics, thus DateConverter should handle the synchronization by itself.

      Tested on v1.4.19, and just browsed v6.2.0 sources to check if something changed.

      Thanks in advance, and sorry for my sloppy english.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                soulspirit SoulSpirit
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: