RFR:JDK-8154050:java.time.format.DateTimeFormatter can't parse localized zone-offset
nadeesh tv
nadeesh.tv at oracle.com
Wed Apr 13 14:19:53 UTC 2016
HI all,
Bug Id - https://bugs.openjdk.java.net/browse/JDK-8154050
<https://bugs.openjdk.java.net/browse/JDK-8154050>
Issue - java.time.format.DateTimeFormatter can't parse localized
zone-offset
Solution - Corrected the mistake in calculating parse end position and
removed an unnecessary null check
webrev - http://cr.openjdk.java.net/~ntv/8154050/webrev.00/
<http://cr.openjdk.java.net/%7Entv/8154050/webrev.00/>
PS: TCKOffsetPrinterParser.test_print_localized() already contain some
test cases related to parsing and formatting. therefore did not repeat
in the new test cases file
--
Thanks and Regards,
Nadeesh TV
More information about the core-libs-dev
mailing list