hg: jdk9/sandbox/jdk: 8144262: LogRecord.getMillis() method is a convenience API that should not have been deprecated

chris.hegarty at oracle.com chris.hegarty at oracle.com
Mon Dec 7 11:45:59 UTC 2015


Changeset: dc3322ef23ff
Author:    dfuchs
Date:      2015-12-07 12:35 +0100
URL:       http://hg.openjdk.java.net/jdk9/sandbox/jdk/rev/dc3322ef23ff

8144262: LogRecord.getMillis() method is a convenience API that should not have been deprecated
Summary: LogRecord.getMillis() is no longer deprecated. LogRecord.setInstant() check that the instant millis can fit in a long millisecond-since-epoch.
Reviewed-by: lancea, rriggs, smarks

! src/java.logging/share/classes/java/util/logging/LogRecord.java
! test/java/util/logging/HigherResolutionTimeStamps/LogRecordWithNanosAPI.java



More information about the jdk9-sandbox-changes mailing list