RFR:JDK-8066806:java.time.format.DateTimeFormatter cannot parse an offset with single digit hour

Roger Riggs Roger.Riggs at Oracle.com
Thu Jul 21 13:29:34 UTC 2016

Hi Nadeesh,

Found the changes in http://cr.openjdk.java.net/~ntv/8066806/webrev.09/


Inthe lenient mode,*the *parser will be greedy and parse*the *maximum digits possible."


The lines 1473, 1479, 1485, etc. are way too long, perhaps wrap/break 
them so each line starts with "."

And wrap any other line longer than 100 chars.  (Side by side diffs are 
annoying if the lines are too long).

Otherwise, looks good,

Thanks, Roger

On 7/21/2016 7:21 AM, nadeesh tv wrote:
> Hi,
> Please see the updated webrev
> http://cr.openjdk.java.net/~ntv/8066806/webrev.08/
> Changes in this webrev:
> For leninent mode , doc  change in DateTimeFormatterBuilder.java
> "
> In the lenient mode, parser will be greedy and parse maximum digits 
> possible.
> "
> Added new test cases for lenient mode.

More information about the core-libs-dev mailing list