java.time.Clock$TickClock wrong javadoc
roger riggs
roger.riggs at oracle.com
Tue Sep 23 13:48:58 UTC 2014
Hi,
Filed https://bugs.openjdk.java.net/browse/JDK-8058957
Given the review and testing cycle overhead; its probably not worth
fixing (at least by itself).
Thanks, Roger
On 9/22/2014 7:52 PM, Steven Schlansker wrote:
> Hi core-libs-dev,
>
> Quick note that it seems that the Javadoc for Clock$TickClock has copypasta from Clock$OffsetClock.
> Not a huge deal for a non-public class but probably worth fixing.
>
> http://hg.openjdk.java.net/jdk9/client/jdk/file/5edbebb72540/src/java.base/share/classes/java/time/Clock.java
>
> /**
> * Implementation of a clock that adds an offset to an underlying clock.
> */
> static final class OffsetClock extends Clock implements Serializable {
>
> /**
> * Implementation of a clock that adds an offset to an underlying clock.
> */
> static final class TickClock extends Clock implements Serializable {
>
More information about the core-libs-dev
mailing list