JDK-8072645 : java.util.logging should use java.time to get more precise time stamps
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util.logging
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2015-02-05
  • Updated: 2017-05-17
  • Resolved: 2015-02-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
9 b53Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8175265 :  
java.util.logging.LogRecord contains a millisecond time stamp, taken from System.currentTimeMillis() - and java.util.logging.SimpleFormatter uses java.util.Date to format the log event time.

Millisecond resolution is often too coarse to accurately order log events coming from different JVMs.

However java.time.Clock.systemUTC().instant() makes it possible to get more accurate time stamp. This RFE proposes to change java.util.logging to make use of the increased precision offered by java.time.