RFR:JDK-8054978:java.time.Duration.parse() fails for negative duration with 0 seconds and nanos

Stephen Colebourne scolebourne at joda.org
Fri Nov 13 14:13:33 UTC 2015


Looks good to me.
thanks
Stephen


On 13 November 2015 at 11:03, nadeesh tv <nadeesh.tv at oracle.com> wrote:
> Hi all,
>
> Please review a fix for Bug Id -
> https://bugs.openjdk.java.net/browse/JDK-8054978
>
> Issue - While parsing a negative Duration with 0 seconds and a few
> nanoseconds, the nanoseconds are wrongly considered positive
>
> Apart from the above , corrected a documentation error in the examples for
> Duration.parse(CharSequence)
>
> webrev - http://cr.openjdk.java.net/~ntv/8054978/webrev.02
>
> --
> Thanks and Regards,
> Nadeesh TV
>



More information about the core-libs-dev mailing list