RFR:JDK-8054978:java.time.Duration.parse() fails for negative duration with 0 seconds and nanos
nadeesh tv
nadeesh.tv at oracle.com
Fri Nov 13 11:03:17 UTC 2015
Hi all,
Please review a fix for Bug Id -
https://bugs.openjdk.java.net/browse/JDK-8054978
<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
<http://cr.openjdk.java.net/%7Entv/8054978/webrev.01/>
--
Thanks and Regards,
Nadeesh TV
More information about the core-libs-dev
mailing list