Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4854940

java.util.Timer is problematic, needs improve

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 5.0
    • 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).

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: