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

Increase the precision of the implementation of java.time.Clock.systemUTC()

    Details

    • Subcomponent:
    • Resolved In Build:
      b50
    • Verification:
      Verified

      Backports

        Description

        The java.time.Clock.system() method (and variants thereof) are specified to "obtain a clock that returns the current instant using best available system clock". However the current implementation of the clock returned is based on System.currentTimeMillis() whereas the underlying native clock used by System.currentTimeMillis() has often a greater precision than milliseconds (for instance, on Linux, System.currentTimeMillis() is based on gettimeofday, which offers microseconds precision).

        This RFE propose to enhance the implementation of the system clocks returned by java.time.Clock, so that they offer at least the same precision than the underlying clock available on the system.

          Issue Links

            Activity

            dfuchs Daniel Fuchs created issue -
            dfuchs Daniel Fuchs made changes -
            Field Original Value New Value
            Assignee Daniel Fuchs [ dfuchs ]
            dfuchs Daniel Fuchs made changes -
            Status New [ 10000 ] Open [ 1 ]
            rriggs Roger Riggs made changes -
            Link This issue relates to JDK-8061713 [ JDK-8061713 ]
            dfuchs Daniel Fuchs made changes -
            Security Confidential [ 10000 ]
            dfuchs Daniel Fuchs made changes -
            Labels release-note=yes
            dfuchs Daniel Fuchs made changes -
            Fix Version/s 9 [ 14949 ]
            hgupdate HG Updates made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolved In Build team [ 17324 ]
            Resolution Fixed [ 1 ]
            dfuchs Daniel Fuchs made changes -
            Link This issue relates to JDK-8071919 [ JDK-8071919 ]
            dholmes David Holmes made changes -
            Link This issue relates to JDK-8072450 [ JDK-8072450 ]
            dfuchs Daniel Fuchs made changes -
            Link This issue relates to JDK-8072645 [ JDK-8072645 ]
            hgupdate HG Updates made changes -
            Resolved In Build team [ 17324 ] master [ 18256 ]
            hgupdate HG Updates made changes -
            Resolved In Build master [ 18256 ] b50 [ 17559 ]
            dbessono Dmitry Bessonov made changes -
            Link This issue relates to JCK-7304525 [ JCK-7304525 ]
            ostrizhe Olga Strizhenko (Inactive) made changes -
            Link This issue relates to JCK-7304619 [ JCK-7304619 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8082849 [ JDK-8082849 ]
            sqetools SQE Tools made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            Verification Verified [ 17000 ]
            sqetools SQE Tools made changes -
            Labels release-note=yes autoverify release-note=yes
            iris Iris Clark made changes -
            Labels autoverify release-note=yes autoverify jsr379-annex2-na release-note=yes
            iris Iris Clark made changes -
            Labels autoverify jsr379-annex2-na release-note=yes autoverify jsr379-annex1-na release-note=yes
            dfuchs Daniel Fuchs made changes -
            Link This issue relates to JDK-8180428 [ JDK-8180428 ]
            darcy Joe Darcy made changes -
            Link This issue csr of CCC-8068730 [ CCC-8068730 ]

              People

              • Assignee:
                dfuchs Daniel Fuchs
                Reporter:
                dfuchs Daniel Fuchs
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: