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

(spec) java.lang.System.currentTimeMillis: Spec should mention granularity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • core-libs
    • None
    • beta2
    • generic
    • generic
    • Verified

      The specification of java.lang.System.currentTimeMillis() should explicitly
      state that while the unit of time of the return value is one millisecond, the
      granularity of the value is dependent upon the underlying operating system and
      may be larger. Many operating systems, for example, only measure time in units
      of tens of milliseconds.

      -- mr@eng 2000/2/17

            jjb Josh Bloch
            mr Mark Reinhold
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: