java.util.Timer is problematic, needs improve

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • generic
    • generic

      The java.util.Timer implementation is proving very problematic to us. We would like to provide our own implementations of this for things like JCA 1.5 but the fact that it is a class and creates a thread makes this very difficult. Some ideas:
              - Make it an interface or create some new javax.util.Timer interface
              - Add a constructor targeted at custom implementations (i.e.
              no thread creation etc).

            Assignee:
            Josh Bloch (Inactive)
            Reporter:
            Marvin Ma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: