Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Issue Links

          Activity

          SoulSpirit made changes -
          Link This issue relates to WICKET-4839 [ WICKET-4839 ]
          Emond Papegaaij made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Invalid [ 6 ]
          SoulSpirit made changes -
          Field Original Value New Value
          Link This issue is related to WICKET-102 [ WICKET-102 ]
          SoulSpirit created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development